Integrating Atomico in React
Last updated
Last updated
Atomico integrates very easily into React, either using @atomico/exports or @atomico/react.
CLI that decorates the package.json according to the code to be exported in order to share your code optimally. By using the --wrappers flag the CLI will detect the export of webcomponents and automatically create a wrapper for React, Preact and Vue.
You can learn more about @atomico/exports in the following guide:
With this package you will be able to create wrappers for your Webcomponents in React, even managing to make SSR of your webcomponents in environments like Next.js with these wrappers.
You can learn more about @atomico/react in the following guide: