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
Sur cette page du site, vous pouvez voir la vidéo en ligne Force Component Destroy by Using Page Life Cycle in NativeScript Angular Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Alex Ziskind 01 mai 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4,099 fois et il a aimé 56 téléspectateurs. Bon visionnage!