adobe / react-webcomponent

This projects automates the wrapping of a React component in a CustomElement.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow default use without the need of a model

alexmirea opened this issue · comments

Expected Behaviour

Currently the library requires a model to be defined in order to parse the DOM into React properties.
We could add a default mode without the need to specify a model.
Every time a property of the element changes the library can update the React component with a property named after the attribute name and with the value as string.

We could consider transforming attribute with hypens (-) to camel case.