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
Post a Comment