React和Hooks-获取TypeError:Object(…)不是函数
I'm using Mapbox to try to render various coordinates from a local JSON file.
However, I'm receiving the error TypeError: Object(...) is not a function. I've looked up some info on what could be causing it (e.g. earlier versions of react won't work with ho...