huangkairan
592cdbdd7c
chore: remove unnecessary 'async' for test case ( #4490 )
2021-09-02 09:44:38 -04:00
Evan You
b079996040
release: v3.2.7
2021-09-01 18:05:16 -04:00
zhangenming
a6e6253319
types(reactivity): adjust type exports ( #4407 )
2021-09-01 16:49:12 -04:00
Evan You
72d2b26e96
release: v3.2.6
2021-08-24 12:54:30 -04:00
Evan You
a137d73e91
release: v3.2.5
2021-08-24 11:54:22 -04:00
阿崔cxr
a46b0a9a96
chore(test): make unnecessarily async test case sync ( #4421 )
2021-08-23 18:52:11 -04:00
zhangenming
9043d0dca7
refactor(reactivity): use explicit assignments. ( #4401 )
2021-08-23 18:32:58 -04:00
Evan You
ceace3a8cc
release: v3.2.4
2021-08-17 12:26:50 -04:00
Evan You
951fbb197b
Revert "chore: add missing space in warning message ( #4359 ) [ci skip]"
...
This reverts commit c68cba82ea
.
2021-08-17 12:18:54 -04:00
zhangenming
d8da4214fc
refactor(reactivity): reduce variable access ( #4366 )
2021-08-17 12:11:52 -04:00
okbug
c68cba82ea
chore: add missing space in warning message ( #4359 ) [ci skip]
2021-08-17 11:28:33 -04:00
Evan You
03abc2573c
release: v3.2.3
2021-08-16 18:25:32 -04:00
Haoqun Jiang
7c4e4514d1
chore: rename onDispose
to onScopeDispose
in warnings and tests ( #4355 )
2021-08-16 18:19:06 -04:00
Evan You
7ffa225aa3
release: v3.2.2
2021-08-11 11:40:25 -04:00
webfansplz
e04680b0aa
test(reactivity): add test case for effectScope ( #4239 )
2021-08-10 13:59:58 -04:00
Evan You
2749c15170
release: v3.2.1
2021-08-09 16:29:53 -04:00
Evan You
5a7a43cc3d
release: v3.2.0
2021-08-09 15:51:53 -04:00
Evan You
4781965cc2
release: v3.2.0-beta.8
2021-08-06 23:12:27 -04:00
Amour1688
d3d5ad204d
fix(types): remove explicit return type annotation requirement for this
inference in computed options ( #4221 )
2021-08-02 09:18:35 -04:00
Evan You
b357009a82
release: v3.2.0-beta.7
2021-07-29 13:21:30 -04:00
Evan You
13c69469f2
refactor: simplify for size
2021-07-29 10:45:05 -04:00
Bas van Meurs
91f29540fe
refactor(reactivity): optimize child effect scope dereferencing ( #4184 )
2021-07-29 10:26:24 -04:00
Evan You
1867591e7c
fix(reactivity): dereference nested effect scopes on manual stop
2021-07-28 12:08:01 -04:00
Pick
da6c055b19
types(reactivity): simplify UnwrapNestedRefs ( #4194 )
2021-07-28 11:15:08 -04:00
Pick
b79e4ca717
types(reactivity): Simplify the SymbolExtract ( #4162 )
2021-07-28 11:12:46 -04:00
Evan You
204e194d2b
release: v3.2.0-beta.6
2021-07-27 18:56:02 -04:00
Evan You
4b595a3ea1
release: v3.2.0-beta.5
2021-07-23 16:10:22 -04:00
Evan You
2581cfb707
fix(types): fix types for readonly ref
...
fix #4180
2021-07-23 15:24:58 -04:00
Evan You
fe58bae412
release: v3.2.0-beta.4
2021-07-21 17:40:25 -04:00
Evan You
9d5dd2da8c
release: v3.2.0-beta.3
2021-07-20 17:47:03 -04:00
Evan You
14ca881a1b
feat(reactivity): deferredComputed
...
Note: this is not exposed as part of Vue API, only as
a lower-level API specific to @vue/reactivity
2021-07-20 17:39:19 -04:00
Evan You
33c2fbfdc8
fix(reactivity): revert computed scheduler change
...
fix #4157
2021-07-20 16:45:29 -04:00
Evan You
1034546a4c
release: v3.2.0-beta.2
2021-07-19 19:36:55 -04:00
Evan You
47f488350c
chore: run updated prettier
2021-07-19 18:24:18 -04:00
Pick
35cc7b0d31
chore(reactivity): correct the description of the test case ( #4135 )
2021-07-19 17:59:30 -04:00
Evan You
6eb47f000a
fix(reactivity): computed should not trigger scheduler if stopped
...
fix #4149
2021-07-19 13:37:03 -04:00
Evan You
d4c67dd253
release: v3.2.0-beta.1
2021-07-16 14:44:06 -04:00
Evan You
5cea9a1d4e
feat(reactivity): support onTrack/onTrigger debug options for computed
2021-07-16 14:30:49 -04:00
Evan You
2dd4739089
test: more test cases for computed w/ scheduler
2021-07-16 14:30:49 -04:00
Evan You
1fe2239270
refactor: sync value access for chained computed w/ scheduler
2021-07-16 14:30:49 -04:00
Evan You
979a841946
chore: use consistent file naming
2021-07-16 14:30:49 -04:00
Evan You
eae7c247af
refactor: reduce bundle size
2021-07-16 14:30:49 -04:00
Bas van Meurs
6cf2377cd4
perf(reactivity): use bitwise dep markers to optimize re-tracking ( #4017 )
2021-07-16 14:30:49 -04:00
Evan You
cc09772d55
chore: remove unncessary property on ComputedRef interface
2021-07-16 14:30:49 -04:00
Evan You
bde855e017
test: test for computed optimization
2021-07-16 14:30:49 -04:00
Evan You
ebaac9a56d
perf(reactivity): avoid triggering re-render if computed value did not change
2021-07-16 14:30:49 -04:00
Anthony Fu
f5617fc3bb
feat(reactivity): new effectScope API ( #2195 )
2021-07-16 14:30:49 -04:00
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
Evan You
b2554aefba
refactor: small bundle size / readability optimization
2021-07-16 14:30:49 -04:00
Bas van Meurs
64310405ac
perf(reactivity): ref-specific track/trigger and miscellaneous optimizations ( #3995 )
2021-07-16 14:30:49 -04:00