RubyFlow The Ruby and Rails community linklog

How we Integrate React with Rails at Ivy

We decided to roll our own React-Rails integration at Ivy six months ago ago, and we’ve never looked back. Read this clear guide to integrating React with your current Rails setup without sacrificing a complete, flexible front-end toolkit.

Comments

Why not use http://reactrb.org in addition?

Cool - was not aware of that project. But our thinking was to use the right tools for the right job, and that means using a npm & webpack to handle all of our React-related dependencies.

Yoni - yes agreed - JS coding is best done (when you have to) in webpack land, ruby coding in rails land. The two work nicely together. Reactrb lets you replace JSX with ruby. Nice article here: https://github.com/barriehadfield/reactrb-showcase

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in