Responsive IP Address Tracker using React

Solution retrospective
Created this project using Vite, React, react-leaflet and IP Geolocation API. When displaying the map I'm not sure how to make the map pan to the marker when the position of the marker changes. I'm currently using useMapEvent of react-leaflet but I'm not sure what is the best practice. Please let me know of any issues or things to improve on.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on kiantpetersen's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord