Fork me on GitHub
#om
<
2017-07-06
>
urbank13:07:21

Does om have a helper function for calling pure javascript react components?

urbank13:07:31

js/React.createElement

danielstockton13:07:30

(dom/create-element component attrs)

urbank13:07:20

ah, thanks. Still a bit long when all the child elements are from semantic-ui 😛

fenton18:07:25

I'm working on an om-next tutorial. Could someone remind me why a component with a simple query runs the query twice again?

fenton18:07:12

My reader doesn't return true for :remote. I know I've seen an explanation somewhere, but I can't remember why the query is run twice.

claudiu20:07:55

@fenton think it's once for local and once for every remote.

fenton20:07:06

Ok I'll check that out thx.

samcf23:07:24

Is there some way to, given a component query (`(om.next/get-query Component)`), query the app state and get back the value that will be sent to the component?

samcf23:07:26

Maybe the parser...