Closed
Description
Version
1.0.3
Reproduction link
https://codesandbox.io/s/interesting-water-y2j31
Steps to reproduce
Run the test
What is expected?
The two logs of innerHTML of the body should have a parent of div with an id of app.
What is actually happening?
It attached the component directly in the body.
I don't know why the wrapper div document was getting removed just before mounting the component.
I found that createElement
works just fine but if do that outside mount
, it will not work.
I checked the tests made on #1492 and it was passing because it didn't check whether it was really attached on the div wrapper. It was just checking if the root is null but I don't think it's the right behavior. Correct me if I'm wrong.
Metadata
Metadata
Assignees
Labels
No labels