Skip to content

vue/no-ref-object-reactivity-loss

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

📖 Rule Details

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

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.

🔧 Options

Nothing.

🚀 Version

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

🔍 Implementation