dillon1000/react

Commit

Warn about variable number of dependencies

We don't check this in prod, since best practice is to always pass
these inline. But we should still warn in dev.
Browse files
Changed paths3 files
First-parent comparison
M packages/react-reconciler/src/ReactFiberHooks.js ModifiedA packages/react-reconciler/src/__tests__/ReactHooks-test.internal.js AddedM packages/react-reconciler/src/__tests__/ReactHooksWithNoopRenderer-test.internal.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…