File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,12 @@ pageClass: rule-details
33sidebarDepth : 0
44title : vue/no-ref-object-reactivity-loss
55description : disallow usages of ref objects that can lead to loss of reactivity
6+ since : v9.17.0
67---
78# vue/no-ref-object-reactivity-loss
89
910> disallow usages of ref objects that can lead to loss of reactivity
1011
11- - :exclamation : <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > *** This rule has not been released yet.*** </badge >
12-
1312## :book : Rule Details
1413
1514This rule reports the usages of ref objects causing the value to lose reactivity.
@@ -49,6 +48,10 @@ const v5 = $computed(() => fn(count) /* ✓ GOOD */)
4948
5049Nothing.
5150
51+ ## :rocket : Version
52+
53+ This rule was introduced in eslint-plugin-vue v9.17.0
54+
5255## :mag : Implementation
5356
5457- [ 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
33sidebarDepth : 0
44title : vue/no-setup-props-reactivity-loss
55description : disallow usages that lose the reactivity of `props` passed to `setup`
6+ since : v9.17.0
67---
78# vue/no-setup-props-reactivity-loss
89
910> disallow usages that lose the reactivity of ` props ` passed to ` setup `
1011
11- - :exclamation : <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > *** This rule has not been released yet.*** </badge >
12-
1312## :book : Rule Details
1413
1514This rule reports the destructuring or member expression of ` props ` passed to ` setup ` causing the value to lose reactivity.
@@ -96,6 +95,10 @@ Nothing.
9695- [ Guide - Composition API - Setup] ( https://vuejs.org/api/composition-api-setup.html )
9796- [ Vue RFCs - 0013-composition-api] ( https://github.com/vuejs/rfcs/blob/master/active-rfcs/0013-composition-api.md )
9897
98+ ## :rocket : Version
99+
100+ This rule was introduced in eslint-plugin-vue v9.17.0
101+
99102## :mag : Implementation
100103
101104- [ 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 11{
22 "name" : " eslint-plugin-vue" ,
3- "version" : " 9.16.1 " ,
3+ "version" : " 9.17.0 " ,
44 "description" : " Official ESLint plugin for Vue.js" ,
55 "main" : " lib/index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments