dillon1000/react

Commit

Remove custom error message from hook access error (#20604)

It will still result in a null access error, so there's no change in
semantics. We will print a user-friendly error message in DEV.
Browse files
Changed paths3 files
First-parent comparison
M packages/react-debug-tools/src/__tests__/ReactHooksInspection-test.js ModifiedM packages/react-reconciler/src/__tests__/ReactHooksWithNoopRenderer-test.js ModifiedM packages/react/src/ReactHooks.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…