dillon1000/react
Commit
Browse files 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.
Changed paths1 file
First-parent comparisonpackages/react-reconciler/src/ReactFiberNewContext.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…