Skip to content
Submitted over 2 years ago

IP Address Tracker

react, bootstrap
LVL 3
snhase220
@snhase
A solution to the IP Address Tracker challenge

Solution retrospective


Hello community members,

Just complete another challenge. Any/all feedback is appreciated! :)

Struggled a bit while integrating LeafletJS with React using useEffect Hook, useEffect kept re-rendering till I figured out to add the dependencies and cleaning up correctly in the useEffect Hook.

Currently, I call the ipify api for each query request, since the requests allowed for subscription are limited and will eventually run out. I was wondering how to best cache request data so as to minimize API calls? Could I just store data in local/session storage or may be use react's useMemo Hook? which is better? Any guidance/feedback will be helpful.

Thanks, snhase

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on snhase’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