Hello. I am trying to" not use" ember data to build a simple demo.
parent route: /list
child route: /list/:object
when I delete a object in child route, and transition back to parent route(/list), I find out the parent route 's model do not refresh. afterModel and beforeModel hook are also not called. (the page actually do not refresh).
And you go from list.detail to list.index, yes, the list route’s model() hook doesn’t re-run. Because you never left that route, you’re still in it. Another way to say this is, the list route and the list.index route are different things.
You may want to move the data loading of the whole list into the list.index route instead. Then it would indeed reload when you go from list.detail to list.index.