This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-15
Channels
- # arachne (6)
- # aws-lambda (3)
- # beginners (14)
- # boot (56)
- # cider (8)
- # cljs-dev (5)
- # cljsrn (11)
- # clojure (240)
- # clojure-dusseldorf (3)
- # clojure-greece (165)
- # clojure-italy (5)
- # clojure-romania (1)
- # clojure-russia (24)
- # clojure-uk (30)
- # clojure-ukraine (3)
- # clojurescript (29)
- # core-async (6)
- # css (1)
- # cursive (25)
- # datascript (6)
- # datomic (61)
- # dirac (1)
- # events (3)
- # hoplon (1)
- # instaparse (3)
- # jobs (4)
- # juxt (28)
- # lein-figwheel (7)
- # leiningen (19)
- # luminus (1)
- # lumo (2)
- # nyc (1)
- # off-topic (19)
- # om (25)
- # onyx (4)
- # parinfer (2)
- # pedestal (23)
- # perun (20)
- # re-frame (44)
- # reagent (20)
- # remote-jobs (3)
- # ring (3)
- # ring-swagger (5)
- # rum (12)
- # slack-help (3)
- # spacemacs (25)
- # specter (62)
- # sql (16)
- # unrepl (313)
- # yada (4)
Hi, is there a way to process markdown in om.next?
@sova: I did this little project that uses a library that reads markdown, that's an Untangled app: https://github.com/chrismurrph/wandering
@cjmurphy cool! thanks
(That doesn't seem very useful, as your root query probably doesn't apply at whatever position you're recursing from.)
@peeja recurses forever
You can use an integer instead of ...
to limit recursion
I don't mean how deep, I mean how much of the query is "re-mounted" at the recursion point?
@peeja hrm. so the current query is recursed in the normal case.
in the union case, the union query is
[:id :title {:child …}]
=> [:id :title {:child [:id :title {:child …}]}]
etc ?
basically
is there a way to force a re-read of keys outside of component scope?
@sova are you talking about in a transact!, a mutation, or?
Yes, can I do a transaction outside of component scope?
for routing i’ve seen it done all the time, so yes?
hm okay, I guess I don't know what to do with (om/transact! this ... )
where "this" is not defined.
just pass it the reconciler directly?
yeah that’s what you are going to have to do, you aren’t in a component after all
Thanks! 😄