-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Cannot use html tags inside renderSSR #106
Comments
Try const html = renderSSR(() => (
<App title="Hello world">
<h2>Other content</h2>
</App>
)
); |
Works flawlessly and great explanation in the video !!! Thanks! 😄 |
Thx. You're welcome :) |
yandeu
added a commit
that referenced
this issue
Apr 13, 2022
yandeu
added a commit
that referenced
this issue
Apr 13, 2022
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Consider this code:
So the output is:
<div><h1>Hello stats</h1><section></section></div>
But using this code:
It throws:
The text was updated successfully, but these errors were encountered: