react/packages/react-cache
Andrew Clark 66cf2cfc8a
Prerender during same pass if blocked anyway (#30879)
If something suspends in the shell — i.e. we won't replace the suspended
content with a fallback — we might as well prerender the siblings during
the current render pass, instead of spawning a separate prerender pass.

This is implemented by setting the "is prerendering" flag to true
whenever we suspend in the shell. But only if we haven't already skipped
over some siblings, because if so, then we need to schedule a separate
prerender pass regardless.
2024-09-10 13:23:32 -04:00
..
npm Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
src Prerender during same pass if blocked anyway (#30879) 2024-09-10 13:23:32 -04:00
index.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
package.json [UMD] Remove umd builds (#28735) 2024-04-17 11:15:27 -07: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.