1. 21
    Fix react-leaflet Peer Dependencies Conflicts with useEffect Hook
    32s

Fix react-leaflet Peer Dependencies Conflicts with useEffect Hook

Share this video with your friends

Send Tweet

Once we added the Marker, the first thing we noticed is it didn't work! 😱

We can fix this though by overriding the library's default images with images imported straight from the library itself. It sounds confusing, but we'll walk through this together and see it not working on the page.

Click here for exercise instructions