Route willTransition deprecation, new patterns?



I have a question related to

The recommended way is to attach to router events in the init. This leaves me with questions. Please correct me when I’m wrong:

  • Routes are lazy instantiated
  • Routes are singletons
  • When does a route get destroyed? It seems never. Leading to the question ‘why is there a willDestroy method on the Route class?’
  • If this is all true then it’s ok to attached to Router events in this init method. But if somehow Route could be destroyed then we should attach/detach from router events in the activate/deactivate methods?!