This is pretty cool, I like the idea of using inline templates in ViewComponent. I wonder how this would look using something like Markaby[1], so the templating stayed pure ruby, instead of having to be passed through a transpiler... [1]: https://github.com/markaby/markaby Modifying their own example, I kinda like it. class GreetingComponent def call div { "Hey There" + NameComponent(first_name: "Homer", last_name: "…
[0] https://govuk-components.netlify.app/
[1] https://github.com/DFE-Digital/govuk-components/blob/main/ap...