nsantini / react-bacon-isomorphic

Isomorphic application development made too easy with React+FRP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React+Bacon.js isomorphic TodoMVC

Motivation

Isomorphic applications are the hottest topic nowadays (May 2015). New tutorials about isomorphic app creation are springing up like mushrooms after the rain. I do not get this because React+FRP applications are isomorphic by default. This project demonstrates how enable isomorphism in your FRP+React app.

How it works?

Because the FRP encourages you to always pass the entire state object to the rendering function, nothing prevents you to do the same in the backend as well.

Isomorphic rendering

So in order to create isomorphic apps, just remember:

  • Eliminate browser/Node specific dependencies from your isomorphic modules
  • DRY!

For more information, read my blog post.

Playing with the project

Feel free to clone the repository and start playing with the project:

git clone git@github.com:milankinen/react-bacon-isomorphic.git
cd react-bacon-isomorphic
npm install
npm run watch
open http://localhost:3000  # osx only

License

MIT

About

Isomorphic application development made too easy with React+FRP

License:MIT License


Languages

Language:JavaScript 51.8%Language:CSS 45.0%Language:HTML 3.2%