invoke resetContext on view model when state changes but template remains the same
invoke resetContext on view model when state changes but template remains the same

invoke dispose method on the view model, if defined, when the state changes and the context is destroyed.

crissdev/knockout-state-renderer