code-corps / code-corps/code-corps-ember

Use ember-improved-cp for computed properties

未关闭
#511 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Difficulty: Easy Priority: Medium
主要语言
JavaScript
星标
120
派生
75
PR 合并指标
30 天内没有已合并 PR

描述

# Problem

Computed properties are good, but the implicit two-way binding is _bad_. Stefan just introduced `ember-improved-cp`, which makes CP's read-only.

https://github.com/stefanpenner/ember-improved-cp
## Subtasks
- [ ] Identify all places where we could use this (maybe `git grep computed`?)
- [ ] Submit a pull implementing the changes
- [ ] Verify that nothing has broken

贡献指南

打开贡献指南

调研方向

先运行 `git grep computed`,找出所有 computed property 的使用位置,然后查看关联的 `ember-improved-cp` 项目,并确定哪些位置适合进行此次更改。实现已确定的更新,提交 pull request,并验证没有任何内容被破坏。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
frontend
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。