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!
I practice the way you organize Stimulus files. I am back to sprockets with Hotwire-rails and abandoned webpacker for my new project.
I am wondering do you do the "ApplicationController" in this environment?
Also have you figured out the functionality of "libraries" folder in Hotwire-rails?
I am using Skypack for the external js libraries, such as rails/request.js, so there is not match of a problem to be honest, but I am just curious if import from "node_module" folder is good practice with Sprocket.
For example, ActionText is design to use webpacker as default. But is the elegant way to integrate ActionText in Hotwire-Rails & Sprockets environment?
I haven't tried using the ApplicationController for Stimulus on a non-webpacker app yet, but I'd imagine that it would work similarly.
I will probably continue to use webpacker for me applications until the Rails core advises for a different route. I think going the pure sprockets way will have some growing pains in modern Rails apps until there is a set standard way. It does seem like we are in a pre-transitionary period around this stuff, but this is my speculation and not based on any actual direction that I've seen. (other than hotwire-rails working with or without webpacker)
I hope the Stimulus will solve the potential growing pains that you mentioned.
Your contents is essential to achieve my goal in life.
Thank you for creating this!