mirror of https://github.com/status-im/reagent.git
Add news entry about 0.6.1
This commit is contained in:
parent
8ff70c7eb9
commit
ea5009c9ed
|
@ -6,12 +6,14 @@
|
|||
[reagentdemo.news.news050 :as news050]
|
||||
[reagentdemo.news.news051 :as news051]
|
||||
[reagentdemo.news.news060 :as news060]
|
||||
[reagentdemo.news.news061 :as news061]
|
||||
[reagentdemo.news.news060rc :as news060rc]
|
||||
[reagentdemo.news.news060release :as news060r]
|
||||
[sitetools.core :as tools]))
|
||||
|
||||
(defn main []
|
||||
[:div
|
||||
[news061/main {:summary true}]
|
||||
[news060r/main {:summary true}]
|
||||
[news060rc/main {:summary true}]
|
||||
[news060/main {:summary true}]
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
(ns reagentdemo.news.news061
|
||||
(:require [reagent.core :as r]
|
||||
[reagent.debug :refer-macros [dbg println]]
|
||||
[reagentdemo.syntax :as s]
|
||||
[reagentdemo.common :as common :refer [demo-component]]
|
||||
[sitetools.core :as tools :refer [link]]))
|
||||
|
||||
(def url "/news/news061.html")
|
||||
(def title "Reagent 0.6.1")
|
||||
|
||||
(def ns-src (s/syntaxed "(ns example.core
|
||||
(:require [reagent.core :as r]))"))
|
||||
|
||||
(def changelog
|
||||
"https://github.com/reagent-project/reagent/blob/master/CHANGELOG.md")
|
||||
|
||||
(defn abstract []
|
||||
[:div.demo-text
|
||||
[:p
|
||||
"Reagent 0.6.1 has a new version of React (15.4.0), and it fixes a bug with
|
||||
" [:code ":ref"] " attributes on " [:code "input"] " elements: " [:a {:href "https://github.com/reagent-project/reagent/issues/259"} "#259"] "."]])
|
||||
|
||||
(defn main [{:keys [summary]}]
|
||||
[:div.reagent-demo
|
||||
[:h1
|
||||
[link {:href url} title]]
|
||||
[:div
|
||||
[abstract]]])
|
||||
|
||||
(tools/register-page url [#'main] title)
|
Loading…
Reference in New Issue