dillon1000/react

Commit

Optimize readContext for Subsequent Reads of All Bits (#13248)

This is likely the common case because individual component authors
will casually call read on common contexts like the cache, or cache
provider.

Where as libraries like Relay only call read once per fragment and pass
all observed bits at once.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-reconciler/src/ReactFiberNewContext.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…