DEV Community 👩‍💻👨‍💻


Posted on

Hellow Lit-Element and React

Hi everyBody ;u

I'm studing how web frameworks interop

Last sunday I tried to figure how to use React-Datasheet (link to spreadsheets like in javascript) with lit-element from pwa-starter-kit

Well, React Dom works fine inside a ShadyDom, but I got issues with how react library has been implemented. The component world helped me with already done work but that just as I needed React encapsulation.

To implement React Components inside Lit-Element(lit-html,customElement+shadyDom) is posible?

There is a considerations that I figure out reactComponents need to have

  • dependencies: global objects

How to tell the webcomponent that document object is now the shadowRoot ;c

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.