IP tracker built using React.js

Solution retrospective
Well, it sure has been a while since I took one of these challenges and this has been a nice refresher to get back into it. Used styled-components for styling and react-leaflet that makes life easier when working with leaflet in react, as the name implies.
Unfortunately, I didn't add the user IP detection to fulfill one of the challenge's requirements but I plan to get back to that one. I felt like this is at a good enough spot to submit it. If anyone's got any pointers for what would be the best practice of acquiring a user's IP on page load, I'd highly appreciate it.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Gediminas Makutenas'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