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.
Permalink
Failed to load latest commit information.
app
bin Starting point: pure Rails project Jun 29, 2015
config
db
lib
log
public Starting point: pure Rails project Jun 29, 2015
test
vendor/assets
.gitignore
Gemfile
Gemfile.lock Added react-rails gem to the Gemfile. Jun 29, 2015
README.md Added an info about new branch Mar 24, 2016
Rakefile Starting point: pure Rails project Jun 29, 2015
config.ru Starting point: pure Rails project Jun 29, 2015

README.md

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!