RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

How to use React with Stimulus

https://www.ducktypelabs.com/react-on-rails-with-stimulus/

If you’re using Hotwire in your Rails project (Turbo, Stimulus etc), it is reasonable to wonder if it’s possible to use a SPA framework like React or Vue in the same project, especially if you were building something with a high degree of interactivity. I wrote this article to explore how you might approach this problem if you wanted to take advantage of a framework like React, just on one page (or a few) in your app.

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