react/packages/react-cache
Dan Abramov 515326753b
[Blocks] Initial implementation of cache and data/fetch (#18774)
* Rename ReactCache -> ReactCacheOld

We still use it in some tests so I'm going to leave it for now. I'll start making the new one in parallel in the react package.

* Add react/unstable-cache entry point

* Add react-data entry point

* Initial implementation of cache and data/fetch

* Address review
2020-04-29 19:14:15 +01:00
..
npm Rename simple-cache-provider to react-cache (#13755) 2018-10-01 09:07:40 -06:00
src [Blocks] Initial implementation of cache and data/fetch (#18774) 2020-04-29 19:14:15 +01:00
index.js [Blocks] Initial implementation of cache and data/fetch (#18774) 2020-04-29 19:14:15 +01:00
package.json Add directory details to the package.json of all packages (#14628) 2019-01-18 20:21:12 +00:00
README.md Rename simple-cache-provider to react-cache (#13755) 2018-10-01 09:07:40 -06:00

react-cache

A basic cache for React applications. It also serves as a reference for more advanced caching implementations.

This package is meant to be used alongside yet-to-be-released, experimental React features. It's unlikely to be useful in any other context.

Do not use in a real application. We're publishing this early for demonstration purposes.

Use it at your own risk.

No, Really, It Is Unstable

The API may will change wildly between versions.