In this episode, we look into adding ViewComponent and Hotwire into our Rails application. With this powerful combination, we can create highly interactive applications with ease.
Using StimulusJS and Turbo, we are able to dynamically update select input with content based on another select input. This allows for a seamless user experience while having a configurable and maintainable backend.
In this episode, we look at some common functionality that we got with Rails UJS and what it looks like to reimplement these with Hotwire's Turbo and StimulusJS.