@atomico/react
Wrapper to use webcomponents in React
Last updated
Wrapper to use webcomponents in React
Last updated
It is a Wrapper to eliminate React's own problems when rendering webcomponents, with @atomico/react you can:
Using your webcomponent's type declarations in React/Preact
Synchronize the events of your webcomponents with React
Composition from React using children and slots
Use SSR of your webcomponents in React/Preact based environments for example Next.js
We recommend using Atomico/react when looking to support React or Preact from your webcomponents built with Atomico.
We also support vue with @atomico/vue
With Atomico/react it's really easy to use, example:
We invite you to meet @atomico/exports to automate the generation of wrappers for your webcomponents