3 ms·
> As I get deeper into my software engineering career I have realized an important aspect of what I consider "good" code is that it enables you to focus very ti
by nailer 3y ago
> As I get deeper into my software engineering career I have realized an important aspect of what I consider "good" code is that it enables you to focus very tightly on the section you're working on without needing to jump around to other files (or even scroll down the same one.)
Agreed. But this point (and the next point) mainly seems to be a workaround for React not including single file components.
There’s very little reason to start new projects in React these days and while Svelte didn’t invent SFC (I think they came from Vue) your CSS is right there in the component file, automatically scoped to the component when you save.