useAsync hook with cache
It's good practice to show the user that the app is loading data. This is done by showing a loading indicator, and hiding the content until the data is ready. Most of us will be maintaining a state in the component that tracks whether the data is rea...
devsmitra.hashnode.dev5 min read