Updating a rails view component with hotwire. This is a good pattern for wrapping a rails view partial with a light class to enable more easily updating them with Hotwire.
Recent articles
- Ruby's clamp method reduces conditionals - 24th February 2025
- Regex within string square brackets - 24th February 2025
- Elegant solution to versioning an API - 24th February 2025