NativeScript Angular keeps navigated components alive on a stack. This is great for performance, since the framework doesn't have to work as hard to recreate the components that you might return to. However, sometimes you might need manual control over the component life cycle, and you may need to call ngOnDestroy for a component when the Page unloads. I'll show you how to do that in this short NativeScript Tutorial.
► SHARE
Share this video with a friend to help them with their native Angular apps:
• Force Component Destroy by Using Page...
Share the entire NativeScript playlist to help your friends with their native iOS and Android apps written with JavaScript:
• NativeScript Tutorials
► ASK
If you have a topic you want me to make a video about use #iscriptnative in the comments.
►LET'S CONNECT
Alex on Twitter: / digitalix
NativeScripting on Twitter: / nativescripting
► FREE + PREMIUM NATIVESCRIPT COURSES
https://nativescripting.com
Take 25% off any premium NativeScript course by using the coupon code YOUTUBE
On this page of the site you can watch the video online Force Component Destroy by Using Page Life Cycle in NativeScript Angular Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Alex Ziskind 01 May 2019, share the link with friends and acquaintances, this video has already been watched 4,099 times on youtube and it was liked by 56 viewers. Enjoy your viewing!