ampproject / ampproject/amp-react-prototype
AMP Context state propagation
オープン
TBD
- 主要言語
- JavaScript
- スター
- 36
- フォーク
- 6
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
We can use [AmpContext](https://github.com/ampproject/amp-react-prototype/blob/104861c3777d5341377092620f123b9013c0050d/src/amp-context.js#L28) for all state properties such as `renderable` and `playable`. The main question is whether we breakdown the context per property or keep all the properties together. Breaking down per property means a lot of contexts, but also means fewer component updates.
コントリビューションガイド
調査の方向性
参照されているコンテキスト定義の src/amp-context.js から始め、renderable や playable などの状態プロパティが React プロトタイプを通じてどのように伝播されるかを調べます。issue で 1 つのコンテキストを使用するべきか、プロパティごとに個別のコンテキストを使用するべきかを判断し、選択したアプローチとコンポーネントの更新への影響を文書化します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100