Sunday, August 31, 2014

"React": JavaScript UI library (from Facebook)

Introducing "Virtual (HTML) DOM" to simplify handling events on web page.
This is different from typical data binding in MVC/MVVM frameworks like Angular.

React | A JavaScript library for building user interfaces: @ GitHub
"A JAVASCRIPT LIBRARY FOR BUILDING USER INTERFACES"

VIRTUAL DOM
React uses a virtual DOM diff implementation for ultra-high performance. It can also render on the server using Node.js — no heavy browser DOM required.

DATA FLOW
React implements one-way reactive data flow which reduces boilerplate and is easier to reason about than traditional data binding.


It is also introducing ".jsx", extension of JavaScript to reduce typing (and is pre-compiled to .js)

podcast interview:
Pete Hunt, Software Engineer for Facebook, discussing Facebook's open source js UI framework, React | CodeWinds