Efficient way to render components based on API call stage
Introduction
A typical approach to loading a page is to render the entire page with a loader component as the fallback of the Suspense and then populate the page data on success.
The problem with the above method is that when a call to the API failed...
mohamilr.hashnode.dev6 min read