react/packages/react-cache
Andrew Clark 6d3ecb70dc
Remove unstable_changedBits (#20953)
We added this unstable feature a few years ago, as a way to opt out of
context updates, but it didn't prove useful in practice.

We have other proposals for how to address the same problem, like
context selectors.

Since it was prefixed with `unstable_`, we should be able to remove it
without consequence. The hook API already warned if you used it.

Even if someone is using it somewhere, it's meant to be an optimization
only, so if they are using the API properly, it should not have any
semantic impact.
2021-03-19 15:36:51 -07:00
..
npm Rename simple-cache-provider to react-cache (#13755) 2018-10-01 09:07:40 -06:00
src Remove unstable_changedBits (#20953) 2021-03-19 15:36:51 -07:00
index.js [Blocks] Initial implementation of cache and data/fetch (#18774) 2020-04-29 19:14:15 +01:00
package.json Bump versions for 17 (#20062) 2020-10-20 21:41:18 +01: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.