Fork me on GitHub

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


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


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?


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