dillon1000/react

Commit

Make RefStatic and LayoutStatic the same bit (#31965)

Refs are basically just fancy Layout Effects. These are conceptually the
same thing and are always visited together so they don't need to be
different flags.

Whenever we disappear/reappear Offscreen content we need to do both Refs
and Layout Effects.

This is just indicating which phase needs to be visited and these are
always the same phase.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-reconciler/src/ReactFiberFlags.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…