Subscribe on changes!

perf(runtime-core): in defineAsyncComponent API,we should clear useless timer

avatar
Jan 17th 2021

What problem does this feature solve?

When we use defineAsyncComponent, when the resource is returned correctly, we can clear the delay timer and timeout timer. That will reduce useless rendering

What does the proposed API look like?

When we go back to the correct resource or resource error, we should clear the delay timer and timeout timer

avatar
Jan 17th 2021

When we go back to the correct resource or resource error, we should clear the delay timer and timeout timer

avatar
Jan 17th 2021

When reporting a bug always provide a reproduction https://new-issue.vuejs.org/?repo=vuejs/vue-next#why-repro