Fork me on GitHub
#om
<
2017-03-15
>
sova-soars-the-sora04:03:59

Hi, is there a way to process markdown in om.next?

cjmurphy05:03:27

@sova: I did this little project that uses a library that reads markdown, that's an Untangled app: https://github.com/chrismurrph/wandering

peeja19:03:30

When you use recursion in a query, how much of it recurses? The whole thing?

peeja19:03:58

(That doesn't seem very useful, as your root query probably doesn't apply at whatever position you're recursing from.)

anmonteiro20:03:51

@peeja recurses forever

anmonteiro20:03:13

You can use an integer instead of ... to limit recursion

peeja20:03:32

I don't mean how deep, I mean how much of the query is "re-mounted" at the recursion point?

anmonteiro20:03:22

@peeja hrm. so the current query is recursed in the normal case.

anmonteiro20:03:29

in the union case, the union query is

peeja20:03:45

The entire query from the root?

peeja20:03:16

Oh, "current" as in the key it's joined to?

adambros20:03:27

[:id :title {:child …}] => [:id :title {:child [:id :title {:child …}]}] etc ?

peeja20:03:46

That makes sense

sova-soars-the-sora21:03:43

is there a way to force a re-read of keys outside of component scope?

adambros21:03:07

@sova are you talking about in a transact!, a mutation, or?

sova-soars-the-sora21:03:37

Yes, can I do a transaction outside of component scope?

adambros21:03:15

for routing i’ve seen it done all the time, so yes?

sova-soars-the-sora21:03:35

hm okay, I guess I don't know what to do with (om/transact! this ... ) where "this" is not defined.

sova-soars-the-sora21:03:21

just pass it the reconciler directly?

adambros21:03:36

yeah that’s what you are going to have to do, you aren’t in a component after all