{"url":"https://sincton.hatenablog.com/entry/2017/11/16/005542","type":"rich","description":"reducer\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306estate\u3092\u8fd4\u3059\u95a2\u6570 key\u306f\u4efb\u610f\u306e\u3082\u306e\u3002value\u306fhogeReducer(state) reducer\u306e\u5f79\u5272\u306f2STEP STEP1: Reducer\u3092\u3064\u304f\u308b\u3053\u3068 STEP2: \u5b9f\u969b\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u63a5\u7d9a\u3059\u308b\u3053\u3068 combineReducers\u304c\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306estate\u3092\u30de\u30c3\u30d4\u30f3\u30b0\u3059\u308b Container\u306fredux\u304c\u751f\u6210\u3057\u305fstate\u306b\u76f4\u63a5\u30a2\u30af\u30bb\u30b9\u306e\u3067\u304d\u308breact component connect\u306freact\u3068redux\u3092\u7e4b\u3050middleware\u306e\u95a2\u6570 mapStateToProps\u306fstate\u3092\u5f15\u6570\u306b\u6301\u3064\u95a2\u6570\u3067\u3001\u3053\u306e\u95a2\u6570\u3067return\u3057\u305fpr\u2026","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/sin051311/","image_url":null,"version":"1.0","author_name":"sin051311","blog_url":"https://sincton.hatenablog.com/","width":"100%","provider_url":"https://hatena.blog","categories":[],"height":"190","title":"Modern React with Redux #4","blog_title":"sinctechmemo","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsincton.hatenablog.com%2Fentry%2F2017%2F11%2F16%2F005542\" title=\"Modern React with Redux #4 - sinctechmemo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2017-11-16 00:55:42"}