Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useRef与vue的更新机制不一样 #6

Closed
agileago opened this issue Jul 23, 2023 · 1 comment
Closed

useRef与vue的更新机制不一样 #6

agileago opened this issue Jul 23, 2023 · 1 comment

Comments

@agileago
Copy link

useRef这块是不是watch得时候应该是deep

比如在vue中:

ref传递一个对象或者数组,对其进行操作是会触发界面更新的

image

但是在veact中就不会

image
@surmon-china
Copy link
Member

Fixed in v1.0.0-beta.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants