Closed arrested-developer closed 5 years ago
It's good practice for your component filenames to match the React component within them, so for example if I have a component called Header I might keep it in components/Header.js, and define the styles in components/Header.styles.js
Header
components/Header.js
components/Header.styles.js
File naming convention is now consistent across all files.
It's good practice for your component filenames to match the React component within them, so for example if I have a component called
Header
I might keep it incomponents/Header.js
, and define the styles incomponents/Header.styles.js