David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
David Kimura PRO said over 4 years ago on From Webpacker to esbuild :
That does appear to be the case, but it could be included in the libraries elsewhere in a Rails 7 app. I haven’t looked too deeply where Rails 7 or which library would pull those in. It could be Hotwire related as far as the way we should approach channels and broadcasts.

Personally, seeing ActionCable moving into a "background" resource that is consumed via Hotwire is a good thing. But for existing applications, we may still need to import in the custom channels that we used in the past which means that we would need to keep the @rails/actioncable library.

The edge guides still show importing this in on custom channels. https://edgeguides.rubyonrails.org/action_cable_overview.html#client-side-components 

David Kimura PRO said over 4 years ago on From Webpacker to esbuild :
I didn't make any changes with Rails UJS. I wonder if there is anything else going on that could affect it. Are you able to confirm that the asset builds are being created?

David Kimura PRO said over 4 years ago on Importmaps in Rails 7 :
 I would likely use their new download option to have the assets pulled down instead of referencing the CDN.

David Kimura PRO said over 4 years ago on Docker on Rails 7 :
Great tips   Thanks for sharing those.

I think that some have complained about Docker being slow even on the M1, but I never noticed those kinds of issues with taking 30 seconds or more for pages to load. I've never had to use Mutagen to get things synchronizing quickly. Maybe I'll give the gitlab oss repo a shot one day and see. I believe they have a docker config for development.

David Kimura PRO said over 4 years ago on Docker on Rails 7 :
  What does your Dockerfile look like? My guess is that the bundle volume mount isn't in the proper spot. I would notice this problem when I was either referencing an incorrect directory for this volume mount.