Does om have a helper function for calling pure javascript react components?
js/React.createElement
(dom/create-element component attrs)
ah, thanks. Still a bit long when all the child elements are from semantic-ui 😛
I'm working on an om-next tutorial. Could someone remind me why a component with a simple query runs the query twice again?
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.
@fenton think it's once for local and once for every remote.
Ok I'll check that out thx.
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?
Maybe the parser...