om-next

rith87 2018-09-22T01:49:17.000100Z

hello folks, I'm struggling a little bit with using om/update-query!.` om/update-query!` seems to update the params in IQueryParams until the next call of om/update-query!. So, even if the component is unmounted and mounted, IQueryParams still remains the same instead of going back to the default values

rith87 2018-09-22T01:50:09.000100Z

is there any way for om/update-query! to update only until componentWillUnmount is called?

rith87 2018-09-22T01:51:28.000100Z

also, I've tried calling om/update-query! in componentDidMount but I'm hitting this error: No queries exist for component path so maybe I'm not supposed to do that?

rith87 2018-09-22T22:22:46.000100Z

heh, weird, i did a hard refresh with the same code and the om/update-query! in componentDidMount seems to work!