๐ค Do you often use create-react-app combined with styled-components for your React web apps?
[nod here]
Cool, me too! ๐ And I find that I tend to set up my projects using the same structure over and over again.
So I've created this quickstarter repo following that same structure for a quick and easy clone!
After installing a fresh copy of create-react-app, the following was added:
- Files for your colours & breakpoints! ๐ฑ ๐ป
- A
ThemeProvider
to wrap around your app using the above styles ๐จ - Some global styles using
createGlobalStyle
๐ - A _tests_ directory for your tests โ
That's it!
I find working with this structure super useful. And who doesn't love saving a few minutes of repo setup? ๐
Enjoy!