{"type":"rich","blog_title":"kurosame\u2019s diary","width":"100%","author_name":"kurosame-th","categories":["React","Context API"],"author_url":"https://blog.hatena.ne.jp/kurosame-th/","description":"ContextAPI v16.3 \u304b\u3089\u8ffd\u52a0\u3055\u308c\u305f\u6a5f\u80fd React \u306e\u307f\u3067\u3044\u3044\u611f\u3058\u306e State \u7ba1\u7406\u304c\u3067\u304d\u308b Redux \u3068\u306f\u5225\u306e\u9078\u629e\u80a2\u304c\u3067\u304d\u305f\u3060\u3051\u3068\u601d\u3063\u3066\u826f\u3044\u8a8d\u8b58 \u5f93\u6765\u306e State \u53d7\u3051\u6e21\u3057 class Parent extends React.Component { constructor(props) { super(props) this.state = { count: 1 } } render() { return ( <div> \u89aa\uff1a {this.state.count} <Child count={this.state.count} /> </div> ) } } const\u2026","url":"https://kurosame-th.hatenadiary.com/entry/2018/11/05/193908","blog_url":"https://kurosame-th.hatenadiary.com/","title":"React \u306e Context API \u306b\u3064\u3044\u3066","version":"1.0","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","height":"190","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/k/kurosame-th/20181105/20181105172314.png","published":"2018-11-05 19:39:08","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkurosame-th.hatenadiary.com%2Fentry%2F2018%2F11%2F05%2F193908\" title=\"React \u306e Context API \u306b\u3064\u3044\u3066 - kurosame\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}