I am building a school management application with react as my front-end framework.
What do I want to achieve?
I will like to know the different approaches(OR the best practice) to making API calls to the dashboard when the user signs in to the application.
I have done some research but could not find any help.
Here are my thoughts
Please pardon my ignorance for I am new to making this kind of project.
- Make an API call for each piece of data that is coming from the backend and update the different components.
- Make one API call that will load all the user's data and store it in the redux store then from the redux store I can use the data and update the different components.
Thanks for your response.