dillon1000/react

Commit

Change string refs in function component message (#18031)

This should refer to string refs specifically. The forwardRef part doesn't
make any sense in this case. I think this was just an oversight.
Browse files
Changed paths3 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactFunctionComponent-test.js ModifiedM packages/react-reconciler/src/ReactChildFiber.js ModifiedM scripts/error-codes/codes.json Modified
Patch

Files changed

Rendering syntax-highlighted changes…