2 ms·
>they sort of force you into a way of thinking that results in a better creative process and ends with better code. That's the first time I've heard that about
by voltagex_ 10y ago
>they sort of force you into a way of thinking that results in a better creative process and ends with better code.
That's the first time I've heard that about React, can you elaborate?
- TranquilMarmot 10y agoMaybe it's just me, but when I'm working in React it really forces me into a more "modular" way of writing things. Sure, I'll write something as a huge file that's a couple of hundred lines but React makes it _incredibly_ easy to step back and refactor to start pulling things out into modules. I guess it doesn't quite _force_ you into thinking a certain way, it just encourages writing code in a more modular and reusable way. Refactoring is easy enough to say "yes, I should pull that out into its own component" vs "it would take me a day to pull this out into its own component".
- midwestcode 10y agoTotally agree with you here. React made me think of the web in a very modular way... I found it very enjoyable to learn!