Closed piotr-yuxuan closed 2 months ago
I've already worked on this, but React 18 requires other changes also: https://github.com/reagent-project/reagent/pull/554
Sorry for my lack of due diligence. I'm very impressed by your good work! 👍 I'll let you decide whether this issue shall stay open or closed.
Experimental React 18 support was released in 1.2.0 with new reagent.dom.client
ns with wrapper fns for the new createRoot
API.
Hello, thanks for this great project.
FYI after upgrading to React 18 I can see in my browser console:
Referring to React doc:
However as of now the only way I'm aware of creating a root is to use reagent.dom/render that uses:
Do you plan to upgrade, would you consider reviewing PR on that?