adobe / adobe/react-webcomponent

Allow default use without the need of a model

Open
#2 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
104
Forks
20
PR merge metrics
No merged PRs in 30d

Description

### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.