Fork me on GitHub

hello fellow om writers


I was wondering what can I use for a typeahead search input ?


Hi all. In the om (previous) documentation on cursors it says: > You can create sub-cursors from cursors by just calling get or get-in on them (works only during the render phase). Which seems to suggest you cannot create sub-cursors with associative operations outside the render phase. However, something like:

  {:on-click #(om/transact! (get app :toggle) not)}
Seems to work just fine. Am I interpreting the doc too strictly? Is this unsafe or unsupported behaviour? Thanks!