-
Notifications
You must be signed in to change notification settings - Fork 406
Closed
Labels
A: websiteArea: websiteArea: websitetype: enhancementSomething is not clear, small updates, improvement suggestionsSomething is not clear, small updates, improvement suggestions
Description
Extracted from #776 (comment)
Our styled components tend to be defined after the exported component in each file (pages/, src/) so it could be confusing to find them in the JSX of previously defined components.
However we want to keep them in the bottom of each file given their strange code format. The idea then is to RENAME them so it's more obvious that they are styled components. My proposal is to simply add the name of the HTML tag they use in CamelCase. For example a Container component that styles a div tag would be renamed ContainerDiv and look like this in JSX.
UPDATE: Probably going for extracting and not renaming. See #792 (comment)
Metadata
Metadata
Assignees
Labels
A: websiteArea: websiteArea: websitetype: enhancementSomething is not clear, small updates, improvement suggestionsSomething is not clear, small updates, improvement suggestions