Submitted over 1 year ago
IP Address Tracker | React.js | Tailwind CSS | React-Leaflet
@vaibhavprasad54
Design comparison
SolutionDesign
Solution retrospective
This was a totally thrilling and challenging project, creating the UI was easy, the challenge was to integrate maps. I loved making this one and also went through a lot of errors which made me understood API request error and how to identify and solve them.
Community feedback
- @9CB5Posted over 1 year ago
Very cool solution. The UI responds well and almost matches the design perfectly. However, I have some suggestions that could improve your solution:
- Remove API call per keystroke. While it may feel more responsive, it is very wasteful. It's good practice to minimise the number of requests you do to reduce stress on the server. You also only have 1000 free requests on IPify API which isn't a lot.
- Add some feedback to the user when the API call errors. When I searched for "1" it took me some time to figure out what to do next because I wasn't sure whether there was an error or the server was just being slow.
0
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