dillon1000/react

Commit

Remove false positive warning and add TODOs about `current` being non-null (#14821)

* Failing test for false positive warning

* Add tests for forwardRef too

* Remove the warning and add TODOs
Browse files
Changed paths3 files
First-parent comparison
M packages/react-reconciler/src/ReactFiberBeginWork.js ModifiedM packages/react-reconciler/src/ReactFiberHooks.js ModifiedM packages/react-reconciler/src/__tests__/ReactHooks-test.internal.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…