Skip to content

Commit 4761c33

Browse files
committed
Update README.md
SpeakerComponent better named asSpeakerListComponent since the corresponding files are named speaker-list.component.*
1 parent 001dff3 commit 4761c33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

a2/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Translations of this Angular 2 style guide are maintained by the community. Due
181181

182182
*Why?*: Unique names help avoid module name collisions. We import and export modules by the file in which they are contained. Thus the name of the files and their folders is important.
183183

184-
*Why?*: Names of folders and files should clear convey their intent. For example, `app/speakers/speaker-list.component.ts` may contain a component that manages a list of speakers. The folder and file names clearly convey the meaning, and thus the module import is clear as `import { SpeakerComponent } from './speakers/speaker-list.component'`.
184+
*Why?*: Names of folders and files should clear convey their intent. For example, `app/speakers/speaker-list.component.ts` may contain a component that manages a list of speakers. The folder and file names clearly convey the meaning, and thus the module import is clear as `import { SpeakerListComponent } from './speakers/speaker-list.component'`.
185185

186186
## Components
187187

0 commit comments

Comments
 (0)