Route-less substates


#1

How do Route-less substates work since the new router facelift?

Is direct use of the state manager deprecated or discouraged in practical terms?

I am having a hard time finding any info on this topic. Was hoping someone might have a couple JSBin examples they could point me towards.

My specific use case is modals and some logic around some specific sub views that don’t really make sense to be backed with a URL.


#2

I think using Ember.StateManager inside you routes controller should be perfectly fine if you say the substates don’t make sense to be stored in the url.

Ember.StateManager could be a quiet complex thing to set up depending on your specific task, but state is a problem better done right, isn’t it? :wink: