Skip to content

Latest commit

 

History

History
94 lines (79 loc) · 6.77 KB

File metadata and controls

94 lines (79 loc) · 6.77 KB

react_on_rails Generator Results

A series of Pull Requests exemplifying the results of running the generators from react_on_rails.

For each release, we'll be publishing a set of pull requests that show the various permutations of running the generator on top of a brand new Rails 4 App (rails new my_app).

You can view the various options after installing the react_on_rails gem by running rails generate react_on_rails:install --help:

Usage:
  rails generate react_on_rails:install [options]

Options:
  -R, [--redux], [--no-redux]                          # Install Redux gems and Redux version of Hello World Example
  -S, [--server-rendering], [--no-server-rendering]    # Add necessary files and configurations for server-side rendering
  -j, [--skip-js-linters], [--no-skip-js-linters]      # Skip installing JavaScript linting files
  -L, [--ruby-linters], [--no-ruby-linters]            # Install ruby linting files, tasks, and configs
  -H, [--heroku-deployment], [--no-heroku-deployment]  # Install files necessary for deploying to Heroku
  -b, [--skip-bootstrap], [--no-skip-bootstrap]        # Skip installing files for bootstrap support

Runtime options:
  -f, [--force]                    # Overwrite files that already exist
  -p, [--pretend], [--no-pretend]  # Run but do not make any changes
  -q, [--quiet], [--no-quiet]      # Suppress status output
  -s, [--skip], [--no-skip]        # Skip files that already exist

Description:
    Create react on rails files for install generator.

See the react_on_rails README.md for more information.

Note: We support react-router, even with server rendering, but we have not yet created generator options for that.

We're discussing what goes into the next round of generators in React on Rails #245

Annotated PRs

These have commentary on why the generator does what it does

v3.0.3 Diffs

v2.0.1 Diffs

v1.2 Diffs

v1.1.1 Diffs