-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Error Capturing Caveats #3141
Error Capturing Caveats #3141
Conversation
Error capturing caveats. See [issue](vuejs/core#12575 (comment)).
✅ Deploy Preview for vuejs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@edison1105 Described two caveats! The first one is about errors from setup and render, second one about hydration mismatches when trying to make child replacement from parent component! |
* Update options-lifecycle.md Error capturing caveats. See [issue](vuejs/core#12575 (comment)). * Update src/api/options-lifecycle.md --------- Co-authored-by: Natalia Tepluhina <[email protected]>
Hi @Gwynerva thank you for raising this PR and bringing this info into the docs. I had the same error today and found your issue #12575 very helpful. You wrote in the docs, that render is executed after a failed setup only in an async component. However, I experienced that the described caveat only occurs for sync components (i.e. without top-level Do I get something wrong here or should it rather be "In components without async |
You are right it seems render error appears even in sync components and I wrongly interpreted the ending of @edison1105 comment:
For async server-side components it produces and error: For async client-side components I guess So I guess the docs should be edited and point out, that
Key points from what I have learned struggling with this problem:
|
Exactly! |
Some additions related to error capturing in Vue. See issue.