Skip to content
Eric Clemmons' Space City JS 2015 talk – "Moving from MVC to React"
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
components
test
.gitignore
.nvmrc
From MVC to React.key
From MVC to React.pdf
LICENSE
README.md
client.js
logo.png
package.json
server.js

README.md

Moving from MVC to React

– Eric Clemmons @ Space City JS 2015

This project has step-by-step commits introducing the following concepts in React:

  • Running React on the server.
  • Rendering a simple <Component />.
  • Passing props into a <Component />.
  • Rendering React on the client.
  • Serializing data on the server & using it on the client.
  • Using context to pass data to deeply-nested children.
  • Simple testing using Mocha

Dependencies

Installation

After cloning/download this project:

$ nvm install
$ nvm use
$ npm install

Now that the correct version of Node & NPM dependencies are installed:

$ npm start

Open the project in your editor, then go to the following URLs and see how it all works:

Resources

These are from the final slide.

You can’t perform that action at this time.