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