Design comparison
SolutionDesign
Community feedback
- @ZahirHaniche-devPosted 3 months ago
Great job on the project—well done and successfully completed. Congratulations!
I do have an important observation regarding the data reloading that occurs with every action on the site. I recommend checking out my project, where data is only loaded once when the application is first accessed. In your case, API calls are being made every time a feature is processed or activated, such as when using the filter or accessing the detail page.
In my approach, I use a reducer with a getData function that is called only once. For actions like filtering, I work with the array stored in the state.
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