|
|
|
|
|
by rhinoceraptor
3230 days ago
|
|
Is it actually better to need to have three files open at a time in order to work on a UI component? I think React components perfectly follow the single responsibility principle. You have a single file that is responsible for one thing: mapping data to UI. Yeah, it has some crazy syntax but it's just sugar. I tend to use separate stylesheets, but that file lives right next to the component file. |
|