Watch: Simplify your ViewComponent’s with dry-initializer

28 Feb, 2023

I will show you a neat little library from the dry-rb project, dry-initializer. It can be really useful to help reduce boilerplate code in ViewComponent’s and service objects.

Check out the dry-initializer docs:
https://dry-rb.org/gems/dry-initializer/3.0/

Discussion (0)

To comment you need to sign up for a free account or sign in.

Unlock 7 Hotwire tricks every Rails dev should know ⚡️

Level up your Rails skills with 7 powerful Turbo techniques in my free Hotwire Cheatsheet. Subscribe for updates on new videos, courses & more — no spam, just gems.