Curated list of episodes, bundled to help you on your learning path!
Videos of tech, infrastructure, hardware and software which non-instructional by nature.
Articles around software and tutorials.
Show your love and support while looking fancy.
Got a question or want to chat about a topic? Let's talk!
Quick question. I assume we can get rid of actioncable and activestorage from the package.json file? I just created a rails 7 app, and they are not there.
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
I am getting: Rails is not defined.
import Rails from "@rails/ujs"
window.Rails = Rails