dillon1000/react
Commit
Browse files Use number type for bitfields
Unions don't enumerate all the possible combinations of bitfields. I'm not actually sure why this was type-checking before. number doesn't provide much safety but it's more correct.
Changed paths2 files
First-parent comparisonsrc/renderers/shared/fiber/ReactTypeOfInternalContext.js ModifiedM src/renderers/shared/fiber/ReactTypeOfSideEffect.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…