Step by step scaffold to React, using server-side rendering and react-rails
Ruby HTML JavaScript CSS CoffeeScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin Starting point: pure Rails project Jun 29, 2015
public Starting point: pure Rails project Jun 29, 2015
Gemfile.lock Added react-rails gem to the Gemfile. Jun 29, 2015 Added an info about new branch Mar 24, 2016
Rakefile Starting point: pure Rails project Jun 29, 2015 Starting point: pure Rails project Jun 29, 2015

Rails scaffold views to server-side rendered React components

This repository was intended to show a simple process of replacing your static views into dynamic-ready React components. It makes a great preparatory refactoring to provide dynamic user interface features to your view.

Interested in learning React.js? We got a book about it.

Update: NewProduct component again, with newest Rails and react-rails:

Be sure to check the newest-20160324 branch!

Rails meets React.js

For the price of $49 you get:

  • 150~ pages of hands-on examples, basic theorethical background, tips for testing and best practices;
  • 50~ pages of bonus content - examples of React in action, more advanced topics and interesting worldviews about creating rich frontends;
  • a FREE repository of code examples bundled with the book, so you can take examples from the book and fiddle with them;

Use coupon code SCAFFOLDTOREACT to get 15% off!

Grab your copy now!