dillon1000/react
Commit
Browse files 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.
Changed paths3 files
First-parent comparisonpackages/react-debug-tools/src/__tests__/ReactHooksInspection-test.js ModifiedM packages/react-reconciler/src/__tests__/ReactHooksWithNoopRenderer-test.js ModifiedM packages/react/src/ReactHooks.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…