Our great sponsors
-
Love seeing the set of gems that folks tend to bring into all their projects. https://github.com/dejan/rails_panel Was a new one for me, will def be checking that out
-
importmap-rails
Use ESM with importmap to manage modern JavaScript in Rails without transpiling or bundling.
-
PopRuby
PopRuby: Clothing and Accessories for Ruby Developers. Fashion meets Ruby! Shop our fun Ruby-inspired apparel and accessories designed to celebrate the joy and diversity of the Ruby community.
-
I started work on a (webpacker-like) esbuild integration for Rails: https://github.com/bouk/esbuilder
It works, but needs UX work, documentation and more extensive testing to be appropriate for general use
-
If anyone wants to see a working example of this in Docker, I have an example app at: https://github.com/nickjj/docker-rails-example
Besides Rails / Webpack 6 and Tailwind with the JIT compiler it also includes Sidekiq, Action Cable and Turbo.
-
Yes, Rails 7 will not use webpack (or almost any other “modern JS”) by default. https://github.com/rails/rails/pull/42999 is the big change.
-
Using Vite with Ruby/Rails is also a modern option [1], really impressed after trying it out.
The article "A Rubyist's Guide to Vite.js"[2] from the author of ViteRuby provides a cool deep dive.
[1]: https://vite-ruby.netlify.app
[2]: https://maximomussini.com/posts/a-rubyist-guide-to-vite-js/