- 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.
推薦閱讀
- GAE編程指南
- 騰訊iOS測(cè)試實(shí)踐
- 算法精粹:經(jīng)典計(jì)算機(jī)科學(xué)問(wèn)題的Java實(shí)現(xiàn)
- Mastering Articulate Storyline
- Java開(kāi)發(fā)入行真功夫
- JSP開(kāi)發(fā)案例教程
- Serverless架構(gòu)
- 零基礎(chǔ)學(xué)Python網(wǎng)絡(luò)爬蟲案例實(shí)戰(zhàn)全流程詳解(高級(jí)進(jìn)階篇)
- Hands-On Functional Programming with TypeScript
- UVM實(shí)戰(zhàn)
- Building Android UIs with Custom Views
- C/C++數(shù)據(jù)結(jié)構(gòu)與算法速學(xué)速用大辭典
- Building a Media Center with Raspberry Pi
- 一覽眾山小:ASP.NET Web開(kāi)發(fā)修行實(shí)錄
- 軟技能2:軟件開(kāi)發(fā)者職業(yè)生涯指南