Force Component Destroy by Using Page Life Cycle in NativeScript Angular Tutorial

Pubblicato il: 01 maggio 2019
sul canale di: Alex Ziskind
4,099
56

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


In questa pagina del sito puoi guardare il video online Force Component Destroy by Using Page Life Cycle in NativeScript Angular Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Alex Ziskind 01 maggio 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,099 volte e gli è piaciuto 56 spettatori. Buona visione!