gothinkster / react-redux-realworld-example-app

Exemplary real world application built with React + Redux
https://react-redux.realworld.io
MIT License
5.57k stars 2.51k forks source link

CSS styles? #39

Closed ramsgoli closed 7 years ago

ramsgoli commented 7 years ago

More of a question rather than an issue, but following along with this file structure, where should the css styles be placed? Thanks!

EricSimons commented 7 years ago

Great question — if you had additional styles you wanted to add, you can either use inline styles or import a css stylesheet. This repo uses the create-react-app as the base, so you can import CSS in any component file by just importing a relative-path CSS file (import './componentStyles.css';)

If you choose to do inline styles, I highly recommend Glamorous from @kentcdodds. I've been using it lately and it's absolutely fantastic.

kentcdodds commented 7 years ago

That's awesome to hear! Would you like to add yourself to the USERS.md!?

EricSimons commented 7 years ago

Definitely! Just submitted a PR :)