Open
Description
The Docs Rewrite should contain a "Data Fetching and Caching" Page that discusses peculiarities of data-fetching itself as well as implementation advice, both with redux as well as some advice on doing the same without redux.
Topics to be covered:
- cancellation on new request
- cache invalidation, as a combination of tracking which cache is currently being used by components and timeouts
- normalization of API results
- things to be considered in combination with concurrent mode
- functions of higher order to generate slices with low boilerplate
- an overview over middlewares that lend themselves to the topic
- an overview over non-redux libraries that might be used to achieve similar results