-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
defineAsyncComponent onError #7661
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
Comments
@yyx990803 Can u comment, please? |
@yyx990803 still relevant |
I confirm problem and also waiting for solution |
@yyx990803 |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
I understand you are waiting for a resolution. But if you keep this up you will be banned from the vuejs org. This is your fierst and final warning. |
This user has now been blocked for 7 days. We will still investigate and fix this issue once we have the capacity for it. As a workaround for other people, consider conditionally adding this callback on on the client. If you need it on the server, please describe the specific use case. |
have same issue @LinusBorg |
Can you provide any more info about your use case? |
So, here's what can halfway solve the issue in my quick experiment so far:
errorComponent: () => h('div', {}, 'Error!'),
onError: async (error, retry, fail) => {
console.error(error);
fail();
}
it's the second part I am not sure how it should behave right now, if |
Vue version
3.2.45
Link to minimal reproduction
https://github.com/nestle49/FoodSoul
Steps to reproduce
For reproduction:
const { dynamicLoadComponent } = useDynamicLoadComponent('Test');
If remove onError, SPA working fine
For any projects:
Crash application with error on server side:
Error: [[email protected]] Hook timeout: the render() hook of /renderer/_default.page.server.ts didn't finish after 40 seconds
On client side everything is fine
What is expected?
SPA works with ssr
What is actually happening?
Error: [[email protected]] Hook timeout: the render() hook of /renderer/_default.page.server.ts didn't finish after 40 seconds
System Info
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: