Access a Leaflet Map instance with useRef Hook in React Leaflet
lessonDuration 18s
In order to access our Map instance, we need to use React's ref functionality. We'll start with React's useRef hook and use it to apply a ref to our map. **[Click here for exercise instructions](https://github.com/colbyfayock/launchtime-workshop/tree/master/lessons/05%20-%20Managing%20Leaflet%20State%20in%20a%20React%20App%20with%20Hooks#1-adding-a-ref-to-our-map-component)**