mirror of https://github.com/status-im/reagent.git
Add todo
This commit is contained in:
parent
5fb9db3b14
commit
cd44e87519
|
@ -213,6 +213,7 @@
|
|||
(let [props (nth argv 1 nil)
|
||||
hasprops (or (nil? props) (map? props))
|
||||
jsprops (convert-props (if hasprops props) id-class true)]
|
||||
;; TODO: Meta key
|
||||
(make-element argv comp jsprops
|
||||
(if hasprops 2 1)))))))
|
||||
|
||||
|
@ -227,7 +228,7 @@
|
|||
(let [ne (native-element tag v)]
|
||||
(if (some? ne)
|
||||
ne
|
||||
(let [c (as-class (nth v 0))
|
||||
(let [c (as-class tag)
|
||||
jsprops #js{:argv v}]
|
||||
(let [k (-> v meta get-key)
|
||||
k' (if (nil? k)
|
||||
|
|
Loading…
Reference in New Issue