Sep 9, 2018 · 1 min read
With React, you don’t have to import a CSS file- you can just pass in an object with camelCase styles to your component’s “style” prop.
{backgroundColor: ‘red’, width: 50}
Then you can apply the same one-file-per-component approach as Vue. You can also use Object.assign() to merge styles.
