Hacker News new | ask | show | jobs
by adenta 505 days ago
If I was to build out a react integration, would you recommend:

A. Rebuild the stimulus portions in react B. Write a react wrapper around the stimulus

I use rails for everything I do, but like to use vite_rails on the front end for react. Excited to use this library!

1 comments

Hmmm... My responsible developer gut tells me to redo it in React so you don't import StimulusJS just to render one editor. It's like having jQuery as a dependency in a React project.