{"published":"2017-10-22 00:39:51","width":"100%","blog_url":"https://blog.kyanny.me/","provider_url":"https://hatena.blog","url":"https://blog.kyanny.me/entry/2017/10/22/003951","description":"recompose \u306e withState \u304c\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u3051\u3069\u30d6\u30ed\u30b0\u8a18\u4e8b\u3068\u30b3\u30fc\u30c9\u3092\u8aad\u3093\u3060\u3089\u306a\u3093\u3068\u306a\u304f\u308f\u304b\u3063\u305f\uff08\u305f\u3076\u3093\uff09\u3002 \u516c\u5f0f\u306e API \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u304c\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u3002 https://github.com/acdlite/recompose/blob/master/docs/API.md#withstate const addCounting = compose( withState('counter', 'setCounter', 0), withHandlers({ increment: ({ setCounter }) => () => setCounter(n \u2026","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kyanny.me%2Fentry%2F2017%2F10%2F22%2F003951\" title=\"recompose \u306e withState - @kyanny&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/a666666/","type":"rich","title":"recompose \u306e withState","height":"190","image_url":null,"blog_title":"@kyanny's blog","provider_name":"Hatena Blog","version":"1.0","author_name":"a666666"}