Professional Documents
Culture Documents
js
@emadb
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
History of web development…
MV(something) in the
browser
Enterprise Javascript
Quiz time!
What’s the difference between
Service, Factory, Provider?
UNLEARN EVERYTHING
@michelebertoli
var HelloWorld = React.createClass({
render: function() {
return (
<h1>
Hello world
</h1>
);
}
});
React.render(<HelloWorld />,
document.body);
Whooot?
• Markup and behaviour
• Separation of concerns
• Template language?
• Components
• JSX syntax
var HelloWorld = React.createClass({
displayName: "HelloWorld",
render: function() {
return React.createElement("h1",
null, "Hello World");
}
});
React.render(
React.createElement(HelloWorld, null),
document.body);
COMPONENTS
render
console.dir(document.createElement('div'));
• Functional approach
• Active community
Challenge
• MongoDb/Mongoose
• Passport
• Mocha/Chai
Client side
Npm Babel.js
Webpack Eslint
Hot-reload LibSass
npm
API
Action
Dispatcher
Flux: Dispatcher
Dispatcher
Action
Dispatcher Store
React View
Few more things…
• Redux
• Relay
Emanuele DelBono
@emadb
Thank you!
https://github.com/emadb/spot-react