Changed grid render for performance

This commit is contained in:
alonso.torres 2021-01-25 12:45:37 +01:00
parent 6a077c967a
commit 4513033634
2 changed files with 27 additions and 26 deletions

View file

@ -81,7 +81,7 @@
(when component
[:> component (obj/set! props "key" index)
(for [[index child] (d/enumerate children)]
(let [props (-> props
(let [props (-> (obj/clone props)
(obj/set! "node" child)
(obj/set! "index" index))]
[:> render-node props]))])))))