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
There's an anti-pattern I've seen in a few questions where people define a bunch of ui-views in their top level HTML file... ...I wonder if this approach is based on the fact that in $route nesting of routes just didn't make sense, whereas it is somewhat easier to understand how it would have generalized to multiple (non-nested) named views.
I agree. So a problem with the current quick start is that it shows off multiple views which are actually much less useful than nested views. This leads users to think that multiple views are the most important concept. So I think we could revamp quick start to show nested views.
The text was updated successfully, but these errors were encountered:
@ksperling Yes i saw :) However it uses just one child per parent.
Is there anywhere to do a layout like:
content
left-side
right-side
queue
For example? I'd like to be able to define say queue, because it's in most layouts, but not all.
I tried fiddling around with named views but i couldn't quite get it to work.
I was trying to define a base state that implemented the skeleton layout, but i couldn't quite get the child states to plug into the right slots.
I updated the quick start. I'm really hoping the halts the popularity of the multi-named views anti-pattern we've been seeing so much of. Sometimes it seems as though devs start using ui-router without really even knowing the problems it was created to solve.
@ksperling said in #174 (comment):
I agree. So a problem with the current quick start is that it shows off multiple views which are actually much less useful than nested views. This leads users to think that multiple views are the most important concept. So I think we could revamp quick start to show nested views.
The text was updated successfully, but these errors were encountered: