Skip to content

Instantly share code, notes, and snippets.

@blissdev
Created October 29, 2014 07:07
Show Gist options
  • Save blissdev/8ff5fecf76fdba2cb0b3 to your computer and use it in GitHub Desktop.
Save blissdev/8ff5fecf76fdba2cb0b3 to your computer and use it in GitHub Desktop.

Revisions

  1. blissdev created this gist Oct 29, 2014.
    6 changes: 6 additions & 0 deletions example.cljs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    (let [c (om/get-props owner)
    v (deref c)]
    (log v))

    ; Uncaught Error: Cannot manipulate cursor outside of render phase, only om.core/transact!, om.core/update!, and cljs.core/deref operations allowed
    ; from line 2