React query provider once wrapped to the root of the application need a few lines of code to fetch and cached and store data in the memory under the hood.
Here are the 5 steps
Install the package
Wrap the provider to the root of the application
Import the method provide by the package
Add the API to fetch the data
Fetch the data and loading status to update the UI
====== Websites ======
React Query - https://react-query-v3.tanstack.com/
==== Links ========
Our website - [www.ihatereading.in](http://www.ihatereading.in/)
Medium - [ / shreyvijayvargiya26 ]
( / shreyvijayvargiya26 )
==== Inspirational projects =====
Projects - https://github.com/shreyvijayvargiya/...
====== Social links =======
Twitter - [ / treyvijay ]( / treyvijay )
Epidemic sound - [https://share.epidemicsound.com/y5uq8s](https://share.epidemicsound.com/y5uq8s)
Until next time, have a good day, people
Keep developing!!