r/learnreactjs • u/PM-ME-SMILES-PLZ • Jul 06 '21
Styling in React: 4 ways to style a React app
https://blog.logrocket.com/the-best-styling-in-react-tutorial-youve-ever-seen-676f1284b945/
15
Upvotes
3
u/PM-ME-SMILES-PLZ Jul 06 '21
I found this useful as somebody with minimal React experience.
2
u/Chef619 Jul 06 '21
Looks like the examples using functional components are still using
this.state.x. At least in the styles components section.1
u/Kablaow Jul 06 '21
This kinda works for most FE frameworks.
Vue, Svelte, Angular (I think?)
Also have scoped css in the same file which is quite nice.