adobe / adobe/react-webcomponent
Allow default use without the need of a model
未关闭
enhancement
- 主要语言
- JavaScript
- 星标
- 104
- 派生
- 20
- PR 合并指标
- 30 天内没有已合并 PR
描述
### 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.
贡献指南
调研方向
首先阅读仓库中基于模型的 DOM 解析和 React 属性更新的 JavaScript 实现。定义无模型运行时的预期行为,包括带连字符的属性是否会转换为 camel case,然后验证更改元素属性会使用该属性名和字符串值更新 React 组件。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, react
- 领域
- frontend, web-dev
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100