Skip to content

Instantly share code, notes, and snippets.

View reizist's full-sized avatar
🖖
Working from home

Reiji Kainuma reizist

🖖
Working from home
View GitHub Profile
@reizist
reizist / 00_timeline.md
Last active September 16, 2018 02:03 — forked from south37/00_timeline.md
ISUCON Cheat Sheet
@reizist
reizist / doc.md
Created December 13, 2016 14:13 — forked from oelmekki/doc.md
Rails + Browserify + React + es7

1. Gemfile

gem 'browserify-rails', '1.5.0' # until fix: https://github.com/browserify-rails/browserify-rails/issues/101
gem 'react-rails'

Browserify-rails allows to use browserify within assets pipeline. React-rails is here only to allow to use #react_component (and thus, prerendering).

Note that jquery-rails can be removed from Gemfile, the npm version of jquery and jquery-ujs will be used instead.