# Route willTransition deprecation, new patterns?

**URL:** <https://discuss.emberjs.com/t/route-willtransition-deprecation-new-patterns/15999>\
**Category:** Routing\
**Created:** [January 11, 2019, 11:57pm UTC](https://discuss.emberjs.com/t/route-willtransition-deprecation-new-patterns/15999 "2019-01-11T23:57:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ffaubry](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/ffaubry/32/11039_2.png) [@ffaubry](https://discuss.emberjs.com/u/ffaubry)\
**Post date:** [January 11, 2019, 11:57pm UTC](https://discuss.emberjs.com/t/route-willtransition-deprecation-new-patterns/15999/1 "2019-01-11T23:57:11Z")

</div>

Hello,

I have a question related to [Ember.js - Deprecations](https://emberjs.com/deprecations/v3.x#toc_deprecate-router-events)

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?!

---

<div class="post-metadata">

**Author:** ![Scott\_Newcomer](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/scott_newcomer/32/13468_2.png) [@Scott\_Newcomer](https://discuss.emberjs.com/u/Scott_Newcomer)\
**Post date:** [May 22, 2019, 2:57pm UTC](https://discuss.emberjs.com/t/route-willtransition-deprecation-new-patterns/15999/2 "2019-05-22T14:57:33Z")

</div>

Hi! I don’t think anything has changes with `Routes`. They get stamped out as instances and torn down when you leave. The docs you are pointing to is the `Router`, which I would assume is a singleton. In the `Route`, you listen to these changes on the `router` service.

[https://deprecations.emberjs.com/v3.x/#toc\_remove-handler-infos](https://deprecations.emberjs.com/v3.x/#toc_remove-handler-infos)
