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
Nesta página do site você pode assistir ao vídeo on-line Force Component Destroy by Using Page Life Cycle in NativeScript Angular Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Alex Ziskind 01 Maio 2019, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 4,099 vezes e gostou 56 espectadores. Boa visualização!