You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The component with the async setup method does not update
I tried to build a component that fetches some information for a given id and shows a 'loading" component if not done. I expected that I would be able to use watch inside the async setup method to refetch data if the id changes. I then noticed that the props in async setup methods don't react to changes.
I was not able to find a lot of information on how suspense and async setup methods are supposed to work in vue 3. If this intended behavior I apologize.
The text was updated successfully, but these errors were encountered:
underfin
added a commit
to underfin/vue-next
that referenced
this issue
Jan 22, 2020
Version
3.0.0-alpha.1
Reproduction link
https://github.com/hdahlheim/vue-next-suspense-props
Steps to reproduce
What is expected?
Both components should update
What is actually happening?
The component with the async setup method does not update
I tried to build a component that fetches some information for a given id and shows a 'loading" component if not done. I expected that I would be able to use watch inside the async setup method to refetch data if the id changes. I then noticed that the props in async setup methods don't react to changes.
I was not able to find a lot of information on how suspense and async setup methods are supposed to work in vue 3. If this intended behavior I apologize.
The text was updated successfully, but these errors were encountered: