News for hackers. Stuff that matters.
Re:How I learned to stop worrying and love React by jawns on Saturday May 16, 2015 @09:44AM (#9556065)
That's true. But React is generally associated with the Flux architecture pattern, which emphasizes small, modular, mostly stateless components.
Re:How I learned to stop worrying and love React by todd3834 on Saturday May 16, 2015 @11:55AM (#9556540)
There is a reason for that and it is because it makes for simpler code. Simpler code is easier to test and simple tested code should have less bugs. Also you get the advantage of reusability from all of the small components you build. If you don't want to follow the recommended programming practices, you don't have to but I would like to encurrage you to adopt them because they really are helpful.
Re:How I learned to stop worrying and love React by arms on Saturday May 16, 2015 @02:50PM (#9557177)
I want to +1 the "makes for simpler code." I'm working on a side project in my free time on nights and weekends. I find the simplicity of React makes it very easy to jump back in after not working on it for a week, or when coding while I'm tired. Working with simple components allows me to constantly move forward, even if it's only for 30 minutes or an hour a night