Skip to content
On this page

vue/no-ref-object-destructure

disallow usages of ref objects that can lead to loss of reactivity

📖 Rule Details

This rule reports the destructuring of ref objects causing the value to lose reactivity.

Now loading...

This rule also supports Reactivity Transform, but Reactivity Transform is an experimental feature and may have false positives due to future Vue changes.
See the RFC for more information on Reactivity Transform.

Now loading...

🔧 Options

Nothing.

🚀 Version

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

🔍 Implementation