dillon1000/react
Commit
Browse files Fixture for pruning unmemoized nonreactive deps
Adds a fixture for our existing behavior that reactive scope dependencies exclude values which are non-reactive. The idea is that regardless of whether the value may actually get recreated over time or not, a "nonreactive" value cannot semantically change and therefore we can ignore changes in its pointer address.
Changed paths2 files
First-parent comparisoncompiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/unmemoized-nonreactive-dependency-is-pruned-as-dependency.expect.md AddedA compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/unmemoized-nonreactive-dependency-is-pruned-as-dependency.js AddedPatch
Files changed
Rendering syntax-highlighted changes…