Lit allows us to wrap our web component into a react one. Hence, in a different package we can define a react component to be used for react frontends, for ease of use.
Implementation details
create package that imports Lit widget and wraps it into a react component
provide unit test of the react component working properly
create "examples" directory in the root of the repo and add it to the workspaces
in examples directory create simple example nextjs app and install sygma react widget inside
Testing details
imported react component is able to render on basic react app
Lit allows us to wrap our web component into a react one. Hence, in a different package we can define a react component to be used for react frontends, for ease of use.
Implementation details
Lit
widget and wraps it into a react componentTesting details
Acceptance Criteria