Thorsten Lünborg
|
4be1037f31
|
fix(reactivity): ensure readonly refs can be replaced with new refs in reactive objects (#5310)
fix #5307
|
2022-01-23 08:08:27 -05:00 |
|
HcySunYang
|
c64907d261
|
fix(types): calling readonly() with ref() should return Readonly<Ref<T>> (#5212)
|
2022-01-21 02:33:30 -05:00 |
|
Thorsten Lünborg
|
171f5e9c60
|
fix(reactivity): mutating a readonly ref nested in a reactive object should fail. (#5048)
fix: #5042
|
2022-01-21 02:33:18 -05:00 |
|
Evan You
|
2f91872e7b
|
fix(ssr): only cache computed getters during render phase
fix #5300
|
2022-01-21 12:31:54 +08:00 |
|
Evan You
|
25bc6549eb
|
perf(reactivity): optimize effect run condition
|
2022-01-21 09:41:58 +08:00 |
|
Evan You
|
9c304bfe79
|
fix(reactivity): differentiate shallow/deep proxies of same target when nested in reactive
fix #5271
|
2022-01-18 09:22:41 +08:00 |
|
Evan You
|
9fda9411ec
|
feat(reactivity): add isShallow api
|
2022-01-18 09:22:41 +08:00 |
|
Evan You
|
f4f0966b33
|
fix(ssr): make computed inactive during ssr, fix memory leak
fix #5208
|
2022-01-16 18:22:18 +08:00 |
|
Evan You
|
5ac703055f
|
fix(types): handle ToRef<any>
fix #5188
|
2022-01-16 15:47:00 +08:00 |
|
Evan You
|
92f11d6740
|
fix(types): fix shallowReadonly type
|
2022-01-10 15:05:09 +08:00 |
|
Evan You
|
db729ce99e
|
feat(reactivity-transform/types): restructure macro types + export types for all shorthand methods
|
2021-12-11 18:15:44 +08:00 |
|
Evan You
|
2db9c909c2
|
feat(reactivity): support default value in toRef()
|
2021-12-11 16:41:58 +08:00 |
|
三咲智子
|
523b4b78f5
|
fix(types/reactivity): export ShallowRef type (#5026)
close #5205
|
2021-12-05 23:18:21 -05:00 |
|
Evan You
|
6d46b36e7c
|
revert: "fix(types): use proper array type when unwrapping reactive array (#4807)"
This reverts commit 89c54ee2b9 .
|
2021-11-26 10:54:12 +08:00 |
|
Cheese
|
89c54ee2b9
|
fix(types): use proper array type when unwrapping reactive array (#4807)
|
2021-11-25 05:41:25 -05:00 |
|
JensDll
|
c6cd6a7938
|
fix (types): do not unwrap refs in toRefs (#4966)
|
2021-11-25 04:39:09 -05:00 |
|
Evan You
|
d145128ab4
|
fix(reactivity): retain readonly proxies when setting as reactive property
fix #4986
|
2021-11-25 12:14:39 +08:00 |
|
Jeet Mandaliya
|
61720231b4
|
chore: typo [skip ci] (#4961)
|
2021-11-18 11:01:11 +01:00 |
|
Marvin Rudolph
|
d56f115f71
|
chore(reactivity): fix typo in types (#4889)
|
2021-11-02 20:19:39 +01:00 |
|
Evan You
|
c803eb15ec
|
chore: avoid rollup plugin ts warning
|
2021-10-09 18:34:54 -04:00 |
|
Evan You
|
20a361541c
|
fix(types): fix ref unwrapping type inference for nested shallowReactive & shallowRef
fix #4771
|
2021-10-09 17:51:15 -04:00 |
|
Che Guevara
|
925bc346fe
|
fix(types): make toRef return correct type(fix #4732) (#4734)
* fix(types): make `toRef` return correct type(fix #4732)
* chore: use correct test
Co-authored-by: Evan You <yyx990803@gmail.com>
|
2021-10-08 11:57:49 -04:00 |
|
Thorsten Lünborg
|
ed0071ac1a
|
fix(types): ensure that DeepReadonly handles Ref type properly (#4714)
|
2021-10-07 18:30:54 -04:00 |
|
zhangenming
|
52e4ea732d
|
refactor(reactivity): reuse toReactive helper (#4641)
|
2021-09-22 10:11:54 -04:00 |
|
zhangenming
|
b264551c9b
|
refactor(reactivity): reuse computed getter check (#4623)
|
2021-09-21 13:03:09 -04:00 |
|
n2ptune
|
2361ca4fc2
|
chore(reactivity): fix typo in dep (#4534) [ci skip]
|
2021-09-07 11:31:12 -04:00 |
|
Evan You
|
815bfcffae
|
fix(types): fix ref macro types
fix #4499
|
2021-09-04 16:42:46 -04:00 |
|
zhangenming
|
a6e6253319
|
types(reactivity): adjust type exports (#4407)
|
2021-09-01 16:49:12 -04:00 |
|
zhangenming
|
9043d0dca7
|
refactor(reactivity): use explicit assignments. (#4401)
|
2021-08-23 18:32:58 -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 |
|
Haoqun Jiang
|
7c4e4514d1
|
chore: rename onDispose to onScopeDispose in warnings and tests (#4355)
|
2021-08-16 18:19:06 -04:00 |
|
webfansplz
|
e04680b0aa
|
test(reactivity): add test case for effectScope (#4239)
|
2021-08-10 13:59:58 -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
|
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
|
2581cfb707
|
fix(types): fix types for readonly ref
fix #4180
|
2021-07-23 15:24:58 -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
|
47f488350c
|
chore: run updated prettier
|
2021-07-19 18:24:18 -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
|
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 |
|