Replies: 1 comment
-
Hey there - you will need to pass a valid anchor into the createRootContainer function (per the type error), UNLESS you also override the getRootContainer as well! <- this is indeed a gotcha with the current (scrappy/kinda bad) example :p... I.e: the current example overrides both rootContainer + render, and since the overrode rootContainer doesn't care about anchor, I didn't have to pass down anything in the example |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened?
A bug happened!
After following the official sample demo, I found that the method createRootContainer will report an error.
Also tell us, what did you expect to happen?
I want to hook the container inside docment.body or inside any dom (this may be asynchronous).
I would like to use the latest version of the demo example.
Version
Latest
What OS are you seeing the problem on?
No response
What browsers are you seeing the problem on?
No response
Relevant log output
(OPTIONAL) Contact Details
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions