File tree 3 files changed +11
-5
lines changed
3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,12 @@ pageClass: rule-details
3
3
sidebarDepth : 0
4
4
title : vue/no-ref-object-reactivity-loss
5
5
description : disallow usages of ref objects that can lead to loss of reactivity
6
+ since : v9.17.0
6
7
---
7
8
# vue/no-ref-object-reactivity-loss
8
9
9
10
> disallow usages of ref objects that can lead to loss of reactivity
10
11
11
- - :exclamation : <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > *** This rule has not been released yet.*** </badge >
12
-
13
12
## :book : Rule Details
14
13
15
14
This rule reports the usages of ref objects causing the value to lose reactivity.
@@ -49,6 +48,10 @@ const v5 = $computed(() => fn(count) /* ✓ GOOD */)
49
48
50
49
Nothing.
51
50
51
+ ## :rocket : Version
52
+
53
+ This rule was introduced in eslint-plugin-vue v9.17.0
54
+
52
55
## :mag : Implementation
53
56
54
57
- [ Rule source] ( https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-ref-object-reactivity-loss.js )
Original file line number Diff line number Diff line change @@ -3,13 +3,12 @@ pageClass: rule-details
3
3
sidebarDepth : 0
4
4
title : vue/no-setup-props-reactivity-loss
5
5
description : disallow usages that lose the reactivity of `props` passed to `setup`
6
+ since : v9.17.0
6
7
---
7
8
# vue/no-setup-props-reactivity-loss
8
9
9
10
> disallow usages that lose the reactivity of ` props ` passed to ` setup `
10
11
11
- - :exclamation : <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > *** This rule has not been released yet.*** </badge >
12
-
13
12
## :book : Rule Details
14
13
15
14
This rule reports the destructuring or member expression of ` props ` passed to ` setup ` causing the value to lose reactivity.
@@ -96,6 +95,10 @@ Nothing.
96
95
- [ Guide - Composition API - Setup] ( https://vuejs.org/api/composition-api-setup.html )
97
96
- [ Vue RFCs - 0013-composition-api] ( https://github.com/vuejs/rfcs/blob/master/active-rfcs/0013-composition-api.md )
98
97
98
+ ## :rocket : Version
99
+
100
+ This rule was introduced in eslint-plugin-vue v9.17.0
101
+
99
102
## :mag : Implementation
100
103
101
104
- [ Rule source] ( https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-setup-props-reactivity-loss.js )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " eslint-plugin-vue" ,
3
- "version" : " 9.16.1 " ,
3
+ "version" : " 9.17.0 " ,
4
4
"description" : " Official ESLint plugin for Vue.js" ,
5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments