87f69fd0bb
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. |
||
---|---|---|
.. | ||
collections | ||
computed.spec.ts | ||
effect.spec.ts | ||
reactive.spec.ts | ||
reactiveArray.spec.ts | ||
readonly.spec.ts | ||
ref.spec.ts | ||
shallowReactive.spec.ts | ||
shallowReadonly.spec.ts |