ember.js - Best practice for application-wide states in ember? -
- should use separate controller sessioncontroller, , pass around desired variables other controllers using
needs:
hook?
this seems un-dry quickly.
a simple internal variable #1 won't reflected in url. can save database seems costly , silly gets changed part of app experience, opposed infrequently changed user setting.
it seems best way reflect state in url 1 way or another.
- or should have dynamic segment parent url segment routes?
if go option 2, how obtain , remember subroute url segments when using transitionto or link-to?
- or should change query parameters in such way sets regardless of route may in?
would cause conflicts or management hassles if you're using other query parameters, or can cleanly append , remove individual query parameters?
or there better way handle such things?
Comments
Post a Comment