markdown Angular 2+学习文档

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Angular 2+学习文档相关的知识,希望对你有一定的参考价值。

## Components Communication/Interaction 
### Output 
https://angular.io/guide/component-interaction#parent-listens-for-child-event

## Forms

### Validation
https://scotch.io/tutorials/angular-2-form-validation

## Architecture

### Large application state management
http://blog.brecht.io/A-scalable-angular2-architecture/

### RxJS state management, inpired by Redux
https://github.com/ngrx/store

Effects/Epics
https://github.com/ngrx/platform/blob/master/docs/effects/README.md
### ngrx sample 
https://medium.com/beautiful-angular/angular-2-with-redux-using-ngrx-store-2f93a8ad0dd

### share store across all the application including modules 
https://github.com/ngrx/platform/issues/348

### lazy loading modules based on routes
https://medium.com/@AnkurRatra/lazy-loading-of-modules-with-ngrx-store-4th-version-angular-2-23c93295d4e8

### Reusable snippets via ng templates and ng container
https://stackoverflow.com/questions/44917842/reusable-snippets-in-angular-templates

### Based on the reads =>
- Split reducers across different files
- Split **StoreActionsService accross different files
- Keep http services as a separate files, these remote/http services injected into store actions services
- Only the container component interacts with actions or services directly, while children components only comunicates up to the parent

以上是关于markdown Angular 2+学习文档的主要内容,如果未能解决你的问题,请参考以下文章

angular入门学习文档之一

markdown 在Cloud9上运行Angular 2和Angular 4

markdown Angular 2 Snippets - 基础知识

markdown Angular 2快速入门

markdown (原始)Angular 2包括外部JavaScript库

markdown 缺少Angular 2和现代设计模式的介绍