hotwired / hotwire-rails

Use Hotwire in your Ruby on Rails app
https://hotwired.dev
MIT License
971 stars 27 forks source link

Should stimulus-rails be an optional depenency? #17

Closed jcoyne closed 3 years ago

jcoyne commented 3 years ago

If a developer wants to use hotwire-rails for webpacker, it also includes stimulus-rails as a dependency. However stimulus-rails says:

If you want to use Stimulus with a bundler, you should use Webpacker instead. This gem is purely intended for those who wish to use Stimulus with the asset pipeline using ESM in the browser.

dhh commented 3 years ago

You can just use turbo-rails directly 👍