Rick Rick - 1 year ago 164
React JSX Question

Installing react-redux in a Rails project

I am building a React app in Rails and would like to try

. I noticed that it doesn't offer a CDN nor a bower package.

The installation instructions recommend using NPM, but this is not a node project. I handle all my current assets through the Rails asset pipeline, a CDN or a bower package (via rails-assets)

  • Is there a way to install it without using NPM?

  • Is there a way to get NPM packages to play nice with existing asset pipeline packages?

Answer Source

I found that it is possible using react-rails in conjunction with browserify-rails. This blog article explains it pretty well.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download