Attempting to create a long running thread about nested routing and all the related issues with this in ember. Want to collect all the relevant info in one place and hopefully produce an in-depth guide on the topic, after I can separate bugs from expected behavior, and undefined behaviors.
I started learning Ember JS and I took the following quote to heart:
“If your user interface is nested, your routes should be nested” – Yehuda Katz
Well this has been very frustrating in practice. After reading the guides and numerous blogs and stack overflow questions and trying to understand the latest router changes, my understanding seems more muddled than ever. I am not willing to drop ember, but I thought I could start this thread to consolidate ideas on the topic of nested UI design from both a practical and theoretical perspective. Perhaps others reading this thread will find some of the answers (and non-answers) quicker than I did.
It seems there is definitely something limited in the way resources and nesting work within ember or else there are conventions and reasonable design decisions that are not as obvious as they could be. To that end I would like to explore why that is in this thread. And also use this thread to provide links to practical examples of nested UI and idiomatic ember (jsBin etc).
I plan to come back to this thread as I can to post useful links and references. I would encourage others to do the same.
Querystring Support in Ember
A related topic especially when a UI design requires deeply nested and dynamic segments in router structure.
A naive approach to nesting that doesn’t work but not sure why
To what extent does ember js support deeply nested UIs and what are some explicit design decisions in ember that may limit how deeply one can nest resources in the router and UI?
PS: If it seems like I am spamming the forum, that is not my intention. I would like to use this thread to gather together bunch of information and perhaps then take a stab at writing an official guide on the topic once I cement enough knowledge in my mind.
What is general meaning of this error and what specific causes it to arise?
Uncaught Error: More context objects were passed than there are dynamic segments for the route: