-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
props don't update in async setup method #649
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: