React on the Server
Isomorphic JavaScript
Iso-what's it?
Back in the day.
- Create HTML on the server
- Enhance it a bit with JavaScript
Then came Web 2.0
The Rise of a Richer Experience
- Backbone
- Knockout
- Angular
- ...
Great but...
And also these happened
What to do?
- Continue being sucky?
- Write it twice?
- Abandon all hope?
We want to send html to the browser
But we still want rich interactive experiences
Enter React.js
Well Actually
React just made it easy
How Easy?
React.renderToString(myReactElement);