dillon1000/react
Commit
Browse files Don't render bitmask-bailing consumers even if there's a deeper matching child (#12543)
* Don't render consumers that bailed out with bitmask even if there's a deeper matching child * Use a render prop in the test Without it, <Indirection> doesn't do anything because we bail out on constant element anyway. That's not what we're testing, and could be confusing.
Changed paths2 files
First-parent comparisonpackages/react-reconciler/src/ReactFiberBeginWork.js ModifiedM packages/react-reconciler/src/__tests__/ReactNewContext-test.internal.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…