adobe / adobe/react-webcomponent
Allow default use without the need of a model
- 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
Research direction
Start by reading the repository's JavaScript implementation of model-based DOM parsing and React property updates. Define the expected behavior for operation without a model, including whether hyphenated attributes become camel case, then verify that changing an element attribute updates the React component with the attribute name and string value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100