angular - Changing route back and forth and subscription callbacks -


i working on angular2 beta 17 version. have found out, when have longer request server (2-3s), , switch routes couple of time (back , forth), callback gets executed number of times route has changed. solved adding .unsubscribe() in ngondestroy. however, shouldn't done default on http calls when changing router? has been fixed in latest rc?


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -