vue3-yuanma/packages/reactivity/__tests__
Evan You 87f69fd0bb perf(reactivity): improve reactive effect memory usage (#4001)
Based on #2345 , but with smaller API change

- Use class implementation for `ReactiveEffect`
- Switch internal creation of effects to use the class constructor
- Avoid options object allocation
- Avoid creating bound effect runner function (used in schedulers) when not necessary.
- Consumes ~17% less memory compared to last commit
- Introduces a very minor breaking change: the `scheduler` option passed to `effect` no longer receives the runner function.
2021-07-16 14:30:49 -04:00
..
collections fix(reactivity): fix shallow readonly behavior for collections (#3003) 2021-03-26 15:10:21 -04:00
computed.spec.ts perf(reactivity): improve reactive effect memory usage (#4001) 2021-07-16 14:30:49 -04:00
effect.spec.ts perf(reactivity): improve reactive effect memory usage (#4001) 2021-07-16 14:30:49 -04:00
reactive.spec.ts test(reactive): add test case of mutation in original reflecting in observed value (#2118) 2020-09-15 10:49:59 -04:00
reactiveArray.spec.ts fix(reactivity): call array subclass methods (#3624) 2021-07-15 17:17:13 -04:00
readonly.spec.ts perf(reactivity): improve reactive effect memory usage (#4001) 2021-07-16 14:30:49 -04:00
ref.spec.ts fix(ref): should not trigger when setting value to same proxy (#3658) 2021-07-15 16:28:01 -04:00
shallowReactive.spec.ts chore: fix typo in test case description 2021-04-16 10:43:56 +08:00
shallowReadonly.spec.ts fix(reactivity): ensure that shallow and normal proxies are tracked seperately (close #2843) (#2851) 2021-03-26 15:39:56 -04:00