Fork me on GitHub
#om-next
<
2016-06-13
>
danburton21:06:09

Suppose I have (defui App ...) with IQueryParams. As soon as I (om.next/add-root! reconciler App app-div), the reconciler will ask for the App's query, parse it, fetch remote data, render the component, yada yada. But what I want to do is initialize the App's query params from the URL. How do I make that happen? Do I have to just use ui instead of defui to accomplish that?

danburton21:06:13

What I mean is, I don't want the reconciler to ask for the App's query until after I've set the appropriate query params.

danburton21:06:10

Perhaps componentWillMount is the correct place to hook in to accomplish this?