Subscribe on changes!

script setup: ref imported from a .vue file doesn't seem to update when used in anothr component's template

avatar
Dec 1st 2020

Version

3.0.3

Reproduction link

https://github.com/CHOYSEN/can_i_import_ref_from_.vue_file

Steps to reproduce

yarn yarn dev

open browser and click the button

What is expected?

"otherComponentRef" and "otherComponentReactive" both change or not

What is actually happening?

"otherComponentReactive" work fine "otherComponentRef" work in