Hacker News new | ask | show | jobs
by zumu 2897 days ago
React + CSS modules is a good place to start.

The CSS modules is to teach you how to write CSS that is tightly scoped, but something like BEM or styled components could do the same thing. Avoid global styles.

I'd also learn a tiny bit of functional programming. JS isn't quite a functional language, but lends itself nicely to simple functional patterns. React is also explicitly functionally influenced. Think composition over inheritance. Don't go overboard.

TypeScript or Flow for type checking are probably a good idea. TypeScript is far more supported, but kind of encourages the OO style. I prefer Flow, but most will say TypeScript won.

I will also say VSCode is a really great editor for JS and front end development.

1 comments

Try Styled Components.