# Herb support documentation

**URL:** <https://discourse.hanakai.org/t/herb-support-documentation/1309>\
**Category:** questions\
**Created:** [September 26, 2025, 11:10pm UTC](https://discourse.hanakai.org/t/herb-support-documentation/1309 "2025-09-26T23:10:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcannonfodder](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.hanakai.org/tcannonfodder/32/969_2.png) [@tcannonfodder](https://discourse.hanakai.org/u/tcannonfodder)\
**Post date:** [September 26, 2025, 11:10pm UTC](https://discourse.hanakai.org/t/herb-support-documentation/1309/1 "2025-09-26T23:10:29Z")

</div>

Herb has been gaining a ton of traction & interest. It’s been a shot in the arm whenever I’ve been able to use it. I didn’t see any topics about Herb, so I figured it would be good to start one!

I don’t know if folks have experimented with Herb/ReActionView in Hanami apps. If you have, I’d love to hear about it!

---

<div class="post-metadata">

**Author:** ![timriley](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.hanakai.org/timriley/32/621_2.png) [@timriley](https://discourse.hanakai.org/u/timriley)\
**Post date:** [September 27, 2025, 2:13am UTC](https://discourse.hanakai.org/t/herb-support-documentation/1309/2 "2025-09-27T02:13:23Z")

</div>

I’d also love to hear about it!

What I do know is that Hanami View [has its own ERB engine](https://github.com/hanami/view/pull/226), specifically because none of the existing engines covered both of these features:

- Auto-escaping any non-`html_safe?` values given to `<%=` ERB expression tags, with auto-escaping disabled when using the `<%==` alternative syntax.
- Implicitly capturing and correctly outputting block content without the need for special helpers. This allows helpers like `<%= form_for(:post) do %>` to be used, with the `form_for` helper itself doing nothing more special than a `yield`.

You can read more [in the PR introducing this engine](https://github.com/hanami/view/pull/226).

If `Herb::Engine` can satisfy both of these (or can be enhanced to do so), then I’d love to not have to maintain our own ERB engine 🙂

---

<div class="post-metadata">

**Author:** ![katafrakt](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.hanakai.org/katafrakt/32/735_2.png) [@katafrakt](https://discourse.hanakai.org/u/katafrakt)\
**Post date:** [September 27, 2025, 9:37am UTC](https://discourse.hanakai.org/t/herb-support-documentation/1309/3 "2025-09-27T09:37:19Z")

</div>

When [I wrote on Mastodon](https://ruby.social/@katafrakt/115139230585048082) that I successfully added Herb checks to Emacs, I was actually using a Hanami project to test it. So for sure it worked, not so sure if in 100%, as I don’t have comparison.

I haven’t looked into ReActionView though. My understanding is that it’s built on top of ActionView, so not sure if applicable to Hanami.
