CharlesMangwa / react-data-fetching

🎣 Declarative data fetching for React.
https://react-data-fetching.now.sh
MIT License
491 stars 27 forks source link

Add caching #23

Open luizbon opened 6 years ago

luizbon commented 6 years ago

Using a cache system would be great.

The cache could be an external module to prevent dependency on LocalStorage or Redux Store.

An extra could be the following process:

CharlesMangwa commented 6 years ago

Hey @luizbon! Caching is indeed a feature that I've put down on the todo inside the README. And I'm more and more convinced that this is something that will be handled by React's Suspense itself. So my position right now is to wait for their caching solution to be officially out there, and see how we can adopt it for React Data Fetching. However, I'm open to any recommendation/idea!