Course lesson

Fix react-leaflet Peer Dependencies Conflicts with useEffect Hook

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

Duration
1 min
Access
Pro
Transcript
Available

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