Fork me on GitHub
#om
<
2016-08-08
>
tyler21:08:29

what is the state of the art for om.next routing? I've been trying to make a root component that calls set-query! on mount to set the Root query to that of a subcomponent but that does not seem to be working as expected and I'm worried that I am approaching the problem from the wrong angle

tyler21:08:02

Can you set-query! on a component that has no static query interface implemented?

tyler22:08:42

https://gist.github.com/tvanhens/a48b60befcb70af79aa230b721ae54db is a minimal example. Trying to get set query to change the query but the dom is rendering nil for the value of get-query not sure what I'm doing wrong

tyler22:08:12

Is it possible to use set-query! in that way or am I missing something?