Skip to content

Conversation

@HcySunYang
Copy link
Member

@HcySunYang HcySunYang commented Apr 8, 2021

Fix: #3560

The root cause of #3560 is that during hydration, we will wait for the async component to be resolved before creating a component instance for AsyncComponentWrapper. This is the opposite of the client rendering order, that is, create the instance for AsyncComponentWrapper first and then wait for the async component to be resolved. This PR makes hydration consistent with the behavior of normal client rendering

@HcySunYang HcySunYang added ❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. need test The PR has missing test cases. and removed need test The PR has missing test cases. labels Apr 8, 2021
@yyx990803 yyx990803 merged commit c8d9683 into vuejs:master May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot have v-if and Async component together

2 participants