IP Address location tracker(React, Typescript, Tailwind)

Solution retrospective
I found it difficult to pass states between my components.
I would like some feedback if I should have fetched my data in my parent and passed it into the <Map /> child. Or is it ok like I have done it? I am second-guessing this due to having to pass states then back out of the child again. Seem inefficient but I would like to hear another opinion!
Thank you guys!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on FiliC'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