You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: a2/README.md
+6-19
Original file line number
Diff line number
Diff line change
@@ -563,8 +563,13 @@ Translations of this Angular 2 style guide are maintained by the community. Due
563
563
564
564
**[Back to top](#table-of-contents)**
565
565
566
+
## Routing
567
+
Client-side routing is important for creating a navigation flow between a component tree hierarchy, and composing components that are made of many other child components.
568
+
569
+
**[Back to top](#table-of-contents)**
570
+
566
571
### Component Router
567
-
###### [Style [A2-120](#style-a2-120)]
572
+
###### [Style [A2-130](#style-a2-130)]
568
573
569
574
- Separate route configuration into a routing component file, also known as a component router.
570
575
@@ -703,19 +708,6 @@ Translations of this Angular 2 style guide are maintained by the community. Due
703
708
704
709
**[Back to top](#table-of-contents)**
705
710
706
-
## Modularity
707
-
708
-
### Many Small, Self Contained Modules
709
-
###### [Style [A2-160](#style-a2-160)]
710
-
711
-
- Create small modules that encapsulate one responsibility.
712
-
713
-
*Why?*: Modular applications make it easy to plug and go as they allow the development teams to build vertical slices of the applications and roll out incrementally. This means we can plug in new features as we develop them.
714
-
715
-
**example coming soon**
716
-
717
-
**[Back to top](#table-of-contents)**
718
-
719
711
## File Templates and Snippets
720
712
Use file templates or snippets to help follow consistent styles and patterns. Here are templates and/or snippets for some of the web development editors and IDEs.
721
713
@@ -729,11 +721,6 @@ Use file templates or snippets to help follow consistent styles and patterns. He
729
721
730
722
**[Back to top](#table-of-contents)**
731
723
732
-
## Routing
733
-
Client-side routing is important for creating a navigation flow between views and composing views that are made of many smaller templates and directives.
734
-
735
-
**[Back to top](#table-of-contents)**
736
-
737
724
## Angular docs
738
725
For anything else, API reference, check the [Angular 2 documentation](//angular.io).
0 commit comments