Skip to content

Commit

Permalink
9.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Aug 9, 2023
1 parent 7422a0e commit f607af7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 5 additions & 2 deletions docs/rules/no-ref-object-reactivity-loss.md
Expand Up @@ -3,13 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-ref-object-reactivity-loss
description: disallow usages of ref objects that can lead to loss of reactivity
since: v9.17.0
---
# vue/no-ref-object-reactivity-loss

> disallow usages of ref objects that can lead to loss of reactivity
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>

## :book: Rule Details

This rule reports the usages of ref objects causing the value to lose reactivity.
Expand Down Expand Up @@ -49,6 +48,10 @@ const v5 = $computed(() => fn(count) /* ✓ GOOD */)

Nothing.

## :rocket: Version

This rule was introduced in eslint-plugin-vue v9.17.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-ref-object-reactivity-loss.js)
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/no-setup-props-reactivity-loss.md
Expand Up @@ -3,13 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-setup-props-reactivity-loss
description: disallow usages that lose the reactivity of `props` passed to `setup`
since: v9.17.0
---
# vue/no-setup-props-reactivity-loss

> disallow usages that lose the reactivity of `props` passed to `setup`
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>

## :book: Rule Details

This rule reports the destructuring or member expression of `props` passed to `setup` causing the value to lose reactivity.
Expand Down Expand Up @@ -96,6 +95,10 @@ Nothing.
- [Guide - Composition API - Setup](https://vuejs.org/api/composition-api-setup.html)
- [Vue RFCs - 0013-composition-api](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0013-composition-api.md)

## :rocket: Version

This rule was introduced in eslint-plugin-vue v9.17.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-setup-props-reactivity-loss.js)
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-vue",
"version": "9.16.1",
"version": "9.17.0",
"description": "Official ESLint plugin for Vue.js",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit f607af7

Please sign in to comment.