News for hackers. Stuff that matters.
Re:Ruby on Rails 8 with Vite and Tailwind CSS 4 by yatish27 on Tuesday February 04, 2025 @05:41AM (#42930718)
But what if you want to use React?
Re:Ruby on Rails 8 with Vite and Tailwind CSS 4 by Lio on Wednesday February 05, 2025 @04:18AM (#42946021)
> But what if you want to use React?

Then just use React. There's nothing stopping you and it's well supported.

You can use either https://github.com/rails/jsbundling-rails

or https://github.com/reactjs/react-rails

Personally would also go with a No Build set up. i.e. https://hotwire.io/ and import maps.