Submitted 7 months ago
IP Address Tracker with react-leaflet API and IP Geolocation API
@ArinzeGit
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I am most proud of the responsivity and extra features I added like 'hide map', 'loading' and 'error' messages.
What challenges did you encounter, and how did you overcome them?I had challenges with the asynchronous nature of setState. Any synchronous operation that occurs immediately after will still be using the old state. I overcame it by implementing the loading feature to ensure full data retrieval and state change before (conditional) render.
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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