Ionic Angular performance improvement tips

yotube
0

Use Eager Loading Modules (Instead of Lazy Loading) : By default, Angular’s NgModules are eagerly loaded

Preload Ionic Components : 

// home.page.ts 

ionViewDidEnter() { 

const preloadArea: HTMLElement = document.getElementById('preload');              preloadArea.appendChild(document.createElement('ion-card')); 

}



Preloading Ionicons



--prod



collect garbage 



Unsubscribes Observers



use IonicStorage rather then local storage 

use SQLITE for Large data or high performance storage options







Tags

Post a Comment

0Comments
Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !
To Top