In Angular is there a maximum length that component names can have? For example: am I going to run into problems with a component name like: FirstThingSecondThingThirdThingCreateComponent
?
Asked
Active
Viewed 1,574 times
1

phasemaster
- 25
- 6
-
Don't see any issue except for file name limitation on OS. – penleychan Mar 21 '19 at 16:28
1 Answers
3
In theory there is no limit for a identifier in Javascript or Typescript
In a similar way, W3C standards do not set a limit for a tag name
So the only limit you can find is (if you are following the convention of naming the files after the component's class) the file name limitation on your OS (255 characters, typically)

Pablo Lozano
- 10,122
- 2
- 38
- 59