-
Notifications
You must be signed in to change notification settings - Fork 354
Closed
Labels
Milestone
Description
Hi, first off thanks for the generator, it really helps with getting a project started quickly. I just have a quick question about the naming scheme used for components when using the component generator. Components generated by this always have a 'Component' suffix appended to them, this seems odd and unnecessary to me for a couple of reasons:
- I've not seen this convention in any other React project or library, components are normally just given the name of what they are e.g. react-bootstrap's progress bar is just called ProgressBar;
- it's always obvious anyway which classes are components without this, as these are the camel-cased classes imported from files with camel-cased names within the components directory;
- if someone does want their components to be named in this way they could always add 'component' to the name when calling the generator anyway.
Anyway, this doesn't actually effect anything and is easily changeable, but just something I was wondering about the reasoning of, thanks.
lifeinchords