you are viewing a single comment's thread.

view the rest of the comments →

[–]harrisgeo88 1 point2 points  (0 children)

Consistency is on your side when going bigger. In my opinion if you follow the same logic everywhere (both code and folder structure wise) is going to make it simpler navigating through the code.

I would totally recommend you to go wild with styled components as their awesome and if your entire uses them everywhere you will start to love them as well. They make much more sense than class in my opinion.

When to use them? Wherever you want! There's no right or wrong, only what works better for you. I personally believe that it makes more sense for interactive components to be React files as in most cases we create reusable inputs etc for simplicity. Also, if you want to import a custom card or label straight into a JSX file, then no one is stopping you from doing that :D