ampproject / ampproject/amp-react-prototype
AMP Context and service propagation
オープン
TBD
- 主要言語
- JavaScript
- スター
- 36
- フォーク
- 6
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
This is similar to property and contexts (see #48). We could place services as a map in the `AmpContext` or we could break them down a service-per-context. We could also consider passing services via component props.
In other words, it's either:
```
```
vs
```
```
Whether or not we use a single or per-service context: this could be a significant performance optimization since only the dependent components need to be re-rendered when a service changes.
コントリビューションガイド
調査の方向性
まず issue #48 を読み、コンポーネントツリー内で既存の AmpContext とサービスがどのように使用されているかを調べます。map ベース、サービス固有の context、コンポーネント props による伝播を比較し、実装前に採用するアプローチとそのパフォーマンスへの影響を定義します。issue には、対象ファイルや実行するテストの指定はありません。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100