dillon1000/react

Commit

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.
Browse files
Changed paths2 files
First-parent comparison
M src/renderers/shared/fiber/ReactTypeOfInternalContext.js ModifiedM src/renderers/shared/fiber/ReactTypeOfSideEffect.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…