@ZahirHaniche-dev
Posted
Great project, well executed and completed. Congratulations, my friend.
I have a very important remark regarding the data reloading with every action you take on the site. I suggest you look at my project to see that the only loading I perform is retrieving the list when we first access the application. In your case, you make API calls every time you process or launch a feature, for example, the filter or the detail page.
In my case, I use a reducer with a getData function that I call once. Then, for filtering, etc., I manipulate the array that I retrieve as a state.
Marked as helpful
@Mahmoud-ElAgamy
Posted
Thank you so much for your kind words and constructive feedback! I really appreciate you taking the time to review my project.
Your suggestion regarding data reloading makes perfect sense. I’ll implement a reducer or state to fetch and store the data only once, and then handle all filtering and detail views directly from that state. This will definitely optimize performance and improve the user experience.
I’ll take a look at your project for inspiration as well. Thanks again for the helpful advice, looking forward to sharing the improved version with you!
Best regards, your brother Agamy.
@ZahirHaniche-dev
Posted
It’s a pleasure, and it’s an honor to help you, my brother @Mahmoud-ElAgamy !