You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per convo in IRC, the app model really only deals with location (the route), potentially the params, and subscriptions to hash, history, anchor links - all to do with navigating. @yoshuawuyts and I were discussing the idea of renaming the namespace to something like location, navigator, or url. Yosh pointed out location has a parallel to window.location so may be the best choice.
Thoughts?
The text was updated successfully, but these errors were encountered:
Yup, I like this. I'd keep state.params as separate though, as it bears similarities to react-router (this.props.params) and is easier to access which makes for better UX
Per convo in IRC, the
app
model really only deals withlocation
(the route), potentially theparams
, and subscriptions to hash, history, anchor links - all to do with navigating. @yoshuawuyts and I were discussing the idea of renaming the namespace to something likelocation
,navigator
, orurl
. Yosh pointed outlocation
has a parallel towindow.location
so may be the best choice.Thoughts?
The text was updated successfully, but these errors were encountered: