Skip to content

Instantly share code, notes, and snippets.

@blissdev
Created December 15, 2015 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blissdev/218641072d7e915d1e3b to your computer and use it in GitHub Desktop.
Save blissdev/218641072d7e915d1e3b to your computer and use it in GitHub Desktop.
[:div {:class "elements"}
(map-indexed #(om/build elements/view (nth (get group "elements") %2)
{:react-key %1
:init-state {:count child-count
;;:render-position %2
:delete delete
:move move}
:state {:render-position %2}})
element-sort)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment