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
2.7.13
replit.com
renderToString()
</div>
AsyncComp
Or if you want to reproduce locally:
Notice that the HTML
Error component declared in the async factory would be picked up when the async component fails to load during SSR.
Expected output (of the replit linked):
<app data-server-rendered="true"><div>I always render</div> <p>An error happened during SSR</p> <div>I won't render if AsyncComp rejects</div></app>
HTML rendering is interrupted where the async component fails to load, generating invalid HTML
This string is being outputted:
Actual output (of the replit linked):
<app data-server-rendered="true"><div>I always render</div>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
brunomperes commentedOct 24, 2022
Version
2.7.13
Reproduction link
replit.com
Steps to reproduce
renderToString()
is invalid (it's missing a</div>
and the remainder of the template afterAsyncComp
).Or if you want to reproduce locally:
Notice that the HTML
What is expected?
Error component declared in the async factory would be picked up when the async component fails to load during SSR.
Expected output (of the replit linked):
What is actually happening?
HTML rendering is interrupted where the async component fails to load, generating invalid HTML
This string is being outputted:
Actual output (of the replit linked):
The text was updated successfully, but these errors were encountered: