- NativeScript for Angular Mobile Development
- Nathan Walker Nathanael J. Anderson
- 101字
- 2021-07-02 18:41:46
Modularize with @NgModule
We can then think about breaking these services up into organizational units or modules.
Angular provides us with the @NgModule decorator, which will help us define what these modules look like and what they provide to our app. In an effort to keep our app's bootstrap/launch time as fast as possible, we can organize our modules in such a way to allow some service/features to be lazily loaded after our app has launched. Bootstrapping one module with a small subset of required code that our app needs to launch will help keep this launch phase to a minimum.
推薦閱讀
- JMeter 性能測(cè)試實(shí)戰(zhàn)(第2版)
- Java游戲服務(wù)器架構(gòu)實(shí)戰(zhàn)
- Django Design Patterns and Best Practices
- Git高手之路
- Podman實(shí)戰(zhàn)
- Getting Started with SQL Server 2012 Cube Development
- Mastering macOS Programming
- 零基礎(chǔ)學(xué)Python數(shù)據(jù)分析(升級(jí)版)
- Spring Boot Cookbook
- Scala Reactive Programming
- SQL Server實(shí)用教程(SQL Server 2008版)
- Mastering Git
- TMS320LF240x芯片原理、設(shè)計(jì)及應(yīng)用
- 后臺(tái)開(kāi)發(fā):核心技術(shù)與應(yīng)用實(shí)踐
- 深入淺出Python數(shù)據(jù)分析