Skip to content

StatefulComponent not working #260

Answered by schultek
TJMusiitwa asked this question in Q&A
Discussion options

You must be logged in to vote

Found the issue. You are using body in your App component, but Document() already adds the body tag to the page, so you end up with two nested body tags, which breaks in the browser. Changing the body(...) inside App to div(...) solves the problem.

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@TJMusiitwa
Comment options

@TJMusiitwa
Comment options

@schultek
Comment options

@TJMusiitwa
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@TJMusiitwa
Comment options

@TJMusiitwa
Comment options

@schultek
Comment options

Answer selected by TJMusiitwa
@TJMusiitwa
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants