ampproject / ampproject/amp-react-prototype

AMP Context state propagation

Open
#48 0 comments 0 reactions 0 assignees View on GitHub
TBD
Dominant language
JavaScript
Stars
36
Forks
6
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.