News for hackers. Stuff that matters.
Re:Why did we build React? by spicyj on Wednesday June 05, 2013 @01:27PM (#5827135)
React is awesome. This weekend, I rewrote the Khan Academy exercise editor which looks like this:

https://s3.amazonaws.com/uploads.hipchat.com/6574/26709/htv8...

(The right side is a live preview of what's on the left. The editor is open-source https://github.com/Khan/perseus but not yet documented, sorry.)

React made the code about 15% shorter and also made an order-of-magnitude improvement because it's smarter than I was being about figuring out what's changed and when it's necessary to touch the DOM. Of course, I could've made the same perf improvements by hand but it was easier and quicker having a library that just handles everything.

(This comment sounds a little like I'm getting paid to write this. I'm not! Just really hope that React takes off.)

Re:Why did we build React? by bigethan on Wednesday June 05, 2013 @03:31PM (#5828005)
What sort of environment are you using React in, and what process did it replace? (trying to get a better understanding of how it fits into the modern JS app world).