This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-28
Channels
- # beginners (79)
- # boot (24)
- # cider (5)
- # clara (5)
- # cljs-experience (5)
- # clojure (126)
- # clojure-greece (5)
- # clojure-italy (3)
- # clojure-losangeles (1)
- # clojure-russia (1)
- # clojure-spec (21)
- # clojure-uk (31)
- # clojurescript (151)
- # community-development (20)
- # cursive (25)
- # datomic (24)
- # flambo (1)
- # fulcro (312)
- # graphql (10)
- # hoplon (20)
- # juxt (2)
- # keechma (6)
- # leiningen (7)
- # luminus (4)
- # om (4)
- # onyx (7)
- # parinfer (24)
- # protorepl (1)
- # re-frame (7)
- # reagent (13)
- # shadow-cljs (19)
- # spacemacs (14)
- # specter (14)
- # uncomplicate (22)
- # unrepl (1)
@avabinary Here’s an example for typeahead searching Wikipedia https://github.com/omcljs/om/wiki/Remote-Synchronization-Tutorial
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:
(dom/button
{: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!