{"categories":["Clojure","Clojurescript","Reagent","Web"],"version":"1.0","blog_title":"Arantium Maestum","image_url":null,"height":"190","url":"https://zehnpaard.hatenablog.com/entry/2017/07/03/220215","description":"\u524d\u56de\u304b\u3089\u306e\u7d9a\u304d\u3002 Reagent\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u5b9a\u7fa9\u3059\u308bviews.cljs\u306e\u8aac\u660e\u3002 \u307e\u305a\u306f\u70b9\u306e\u5927\u304d\u3055\u3092\u8868\u3059GRID_SIZE\u3092\u5b9a\u7fa9\u3057\u3001\u76e4\u4e0a\u306e\u300c\u70b9\u300d\u3092\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5316\u3059\u308b\u3002 (def GRID_SIZE 40) (defn BoardIntersection [[row col] color click-fn] (let [style {:top (* row GRID_SIZE) :left (* col GRID_SIZE)} classes (str \"intersection\" (cond (= color :black) \" black\" (= color :white) \" whi\u2026","type":"rich","width":"100%","author_name":"zehnpaard","published":"2017-07-03 22:02:15","blog_url":"https://zehnpaard.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2017%2F07%2F03%2F220215\" title=\"React\u3067\u66f8\u304b\u308c\u305f\u56f2\u7881\u30dc\u30fc\u30c9\u3092Reagent\u3067\u4f5c\u3063\u3066\u307f\u308b\uff08Views\u7de8\uff09 - Arantium Maestum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"React\u3067\u66f8\u304b\u308c\u305f\u56f2\u7881\u30dc\u30fc\u30c9\u3092Reagent\u3067\u4f5c\u3063\u3066\u307f\u308b\uff08Views\u7de8\uff09","author_url":"https://blog.hatena.ne.jp/zehnpaard/","provider_name":"Hatena Blog","provider_url":"https://hatena.blog"}