You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
One question: if it would prove to be useful with suspense - how would you feel about suggesting to store a Promise or thenable in a Redux state? I know, it's not serializable per se, but in combination with a toJSON property and a `reviver' function for JSON.parse, we maybe could establish a good pattern on how to work with that.
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:
The text was updated successfully, but these errors were encountered: