<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/hanami-2-1-views-that-are-a-sight-to-see-sbdrscyrw" -->

---
title: Hanami 2.1: Views that are a sight to see | daily.dev
description: Hanami 2.1 introduces a new front-end assets watcher and compiler, views that are standalone and callable objects, a brand new ERB engine, and the ability to...
canonical: https://daily.dev/posts/hanami-2-1-views-that-are-a-sight-to-see-sbdrscyrw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Hanami 2.1: Views that are a sight to see | daily.dev
og:description: Hanami 2.1 introduces a new front-end assets watcher and compiler, views that are standalone and callable objects, a brand new ERB engine, and the ability to...
og:url: https://daily.dev/posts/hanami-2-1-views-that-are-a-sight-to-see-sbdrscyrw
og:image: https://api.daily.dev/og/posts/sBdrSCyRw.png
og:image:alt: Hanami 2.1: Views that are a sight to see
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Hanami 2.1: Views that are a sight to see

**[RUBYLAND](https://daily.dev/sources/rubyla)** · 4 min read · 0 upvotes · 0 comments

## Summary

Hanami 2.1 introduces a new front-end assets watcher and compiler, views that are standalone and callable objects, a brand new ERB engine, and the ability to render views from actions. Hanami assets are powered by esbuild for lightning quick build times. Views and assets can be organized into slices for better app domain support.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <http://hanamirb.org/blog/2024/02/27/hanami-210/>

---

Tags: [#ruby](https://daily.dev/tags/ruby), [#hanami](https://daily.dev/tags/hanami)

[View this post on daily.dev](https://daily.dev/posts/hanami-2-1-views-that-are-a-sight-to-see-sbdrscyrw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Hanami 2.1: Views that are a sight to see","url":"https://daily.dev/posts/hanami-2-1-views-that-are-a-sight-to-see-sbdrscyrw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/hanami-2-1-views-that-are-a-sight-to-see-sbdrscyrw"},"datePublished":"2024-02-27T14:21:00.983Z","dateModified":"2024-05-09T09:21:59.549Z","description":"Hanami 2.1 introduces a new front-end assets watcher and compiler, views that are standalone and callable objects, a brand new ERB engine, and the ability to...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d2c3b84e2db3b22af47e3541c54892f8?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d2c3b84e2db3b22af47e3541c54892f8?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"RUBYLAND","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"RUBYLAND","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rubyla","url":"https://daily.dev/sources/rubyla"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/hanami-2-1-views-that-are-a-sight-to-see-sbdrscyrw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ruby,hanami","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"RUBYLAND","item":"https://daily.dev/sources/rubyla"},{"@type":"ListItem","position":3,"name":"Hanami 2.1: Views that are a sight to see"}]}
```

