Hi, If model is changing / reloading, setupController hook is exectued or not?
If the routes model
hook is called then definitely setupController hook will be called.
Usually model hook will be called when the route enters via URL or using tansitionTo
from route or using transitionToRoute
from controller or link-to
without providing the model object as argument.
If model is changing / reloading, setupController hook is exectued or not?
do you mean the model data is changing/reloading, then I dont expect setupController
hook to be called.
1 Like