Menu

Invalid hook call error when using react-leaflet

Reading 0:00
15s threshold

Hello again everyone. I have been trying to using the react binding for the Leaflet API . I followed the documentation but I keep running into this error: Invalid hook call. Hooks can only be called inside of the body of a function component.…

Anonymous readers can preview up to 1024 characters here. Log in to unlock the full article once ingest succeeds.