StatefulComponent not working #260
-
Hey @schultek, Sample code:
The Flutter doctor output
Hoping you could kindly point out what if anything I am doing wrong |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Please do |
Beta Was this translation helpful? Give feedback.
-
Hey @schultek so the hydration documents I don't think seem to apply to the bug I am facing. I will attach the full file perhaps there is something you might be able to scope out that I have not paid attention to.
|
Beta Was this translation helpful? Give feedback.
-
Can you put the whole code in a repo, I need to see the full project setup to help you more. |
Beta Was this translation helpful? Give feedback.
Found the issue. You are using
body
in your App component, butDocument()
already adds thebody
tag to the page, so you end up with two nestedbody
tags, which breaks in the browser. Changing thebody(...)
inside App todiv(...)
solves the problem.