barelyhuman / barelyhuman/babel-plugin-mutable-react-state
Caveats
- 主要语言
- TypeScript
- 星标
- 7
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
Issues just pointing at the current caveats of the plugin
A ticked checkbox means, this has been handled and is now doable in the plugin
- [x] Binary Expressions (`$a+=1`,`$a = $a+1`) (`$text = $text + "A"`)
- [x] Update Expressions (`$a++`,`$a--`) for numbers
- [x] Member Expressions on all types ( `$text = $text.toUpperCase()` ) ()
- [ ] Pragma changing, (let's say you want to use preact instead of react)
- [ ] you'll have to create your own setters when passing around the state to other functions / returning it from a function. [Check this issue](https://github.com/barelyhuman/babel-plugin-mutable-react-state/issues/5)
贡献指南
这个仓库没有索引到贡献指南
调研方向
检查尚未勾选的注意事项,尤其是 state 跨越函数边界时 pragma 的更改和 setter 的创建。先从关于自定义 setter 的关联 issue 开始;payload 没有指出源文件或测试。完成这项工作需要定义并实现缺失的行为,然后记录受支持的注意事项,或将其勾选为已完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- babel, react, typescript
- 领域
- compilers
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100