nadeesha.me
@ncthis
http://code.tutsplus.com/tutorials/intro-to-the-react-framework--net-35660
https://keyholesoftware.com/2015/05/11/lessons-from-facebook-reactflux/
https://keyholesoftware.com/2015/05/11/lessons-from-facebook-reactflux/
Immutable.js
RxJs
Webpack with npm scripts
React.js/Flux
Falcor/GraphQL
No defensive copying
Better performance in Javascript VMs
Create "streams" from multiple sequences in your app.
Subscribe to to the streams.
Perform actions.
+
React.js: Your views are immutable, and updated reactively.
Flux: Your data flows one way. We'll help you connect your views to your data.
GET /users/nadeesha
{
user(id: 'nadeesha') {
id,
name,
profilePicture(size: 50) {
uri,
width,
height
}
}
}
In REST: Perform this operation, at this HTTP endpoint, and give me the result. My client will validate, cache, filter, [....] it.
GraphQL: This is the data my client needs.
(Look up Relay)