1. 25
    Section 05 - Manage Leaflet State in a React App with Hooks
    1m 55s

Section 05 - Manage Leaflet State in a React App with Hooks

Share this video with your friends

Send Tweet

React Leaflet is an awesome library that gives us components allowing us to easily add a Leaflet map to our React apps. However, once you start working with complex solutions, you'll come to notice that sometimes managing state between React and a Leaflet map can bite you if you're not careful.

How can we best manage state between all aspects of our map to take advantage of all features of both React and Leaflet?

Click here for exercise instructions