News for hackers. Stuff that matters.
Re:Yahoo Mail moving to React by marknutter on Wednesday November 26, 2014 @04:37PM (#8664744)
So Facebook created an architecture to solve a problem their new web framework introduced?
Re:Yahoo Mail moving to React by neftaly on Wednesday November 26, 2014 @04:50PM (#8664810)
No, they created an architecture and decoupled their web framework from it.
Re:Yahoo Mail moving to React by findjashua on Wednesday November 26, 2014 @07:51PM (#8665451)
Which was a poor decision, imho. Using React only makes sense with Flux, why separate them? Furthermore, the examples on React's docs use the pass-down-the-event-handlers madness, instead of using Flux. React+Flux is a good solution, but the documentation leaves a lot to be desired.
Re:Yahoo Mail moving to React by nutate on Wednesday November 26, 2014 @10:33PM (#8665862)
React components can be brought into any architecture. Using them with flux certainly simplifies many things, but by the same token, flux apps can be written using other libraries (react based like om, or even full frameworks like angular). The decoupling is good. It lets you try out a component from http://react.rocks/ without diving into a fully architectured SPA.