Yet Another Javascript Framework
created by Facebook/Instagram
Jitu Khubchandani
@kjitu9
Single Page Apps
JSON on Serverside
(Angular, Backbone, Ember)
Just UI
Virtual DOM
Components
One way Data flow
JSX
var HelloMessage = React.createClass({ render: function() { return React.DOM.div( {className: 'mystyle'}, 'Hello ' + this.props.name ); } }); React.renderComponent(HelloMessage({name:"Jitu"}), mountNode);
/** @jsx React.DOM */ var HelloMessage = React.createClass({ render: function() { return <div>{'Hello ' + this.props.name}</div>; } }); React.renderComponent(<HelloMessage name="Jitu" />, mountNode);
By Jitu Khubchandani
Front End Developer at Srijan