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