---
title: "#viewcomponent articles | Hashnode"
description: "Explore 7 articles tagged #viewcomponent on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/viewcomponent"
---

Tag

# #viewcomponent

7 posts · 2 followers

[Ashifur Rahaman](https://hashnode.com/@ashif-arsb) · [Jan 13](https://hashnode.com/posts/aspnet-core-view-component/696651dd195c5481b42d7d1d)

### [ASP.NET Core: View Component](https://aspnetcore.hashnode.dev/aspnet-core-view-component?utm_source=hashnode&utm_medium=feed)

In ASP.NET Core 9 (part of .NET 9), a View Component is a powerful feature used to create reusable, independent UI units that contain both logic and a view. Think of it as a "Mini-Controller". Unlike a standard Partial View (which depends on the pare...

3 min read · [aspnetcore.hashnode.dev](https://aspnetcore.hashnode.dev/aspnet-core-view-component?utm_source=hashnode&utm_medium=feed)

[Alvin Crespo](https://hashnode.com/@alvincrespo) · [Aug 13, 2024](https://hashnode.com/posts/testing-viewcomponent-w-capybara/66bb3cd1059715fe84c3e5a9)

### [Testing ViewComponent w/ Capybara](https://alvincrespo.hashnode.dev/testing-viewcomponent-w-capybara?utm_source=hashnode&utm_medium=feed)

Learn how to test ViewComponent with Capybara, including custom assertions and detailed explanations using the Trix Editor as an example.

6 min read · [alvincrespo.hashnode.dev](https://alvincrespo.hashnode.dev/testing-viewcomponent-w-capybara?utm_source=hashnode&utm_medium=feed)

[Andrew Foster](https://hashnode.com/@andrewfoster73) · [Aug 30, 2022](https://hashnode.com/posts/calendar-component-using-viewcomponent-and-hotwire/630e7f2575af73ad1f05ef4a)

### [Calendar component using ViewComponent and Hotwire](https://andrewfoster.hashnode.dev/calendar-component-using-viewcomponent-and-hotwire?utm_source=hashnode&utm_medium=feed)

One possible way of rendering a simple calendar control

6 min read · [andrewfoster.hashnode.dev](https://andrewfoster.hashnode.dev/calendar-component-using-viewcomponent-and-hotwire?utm_source=hashnode&utm_medium=feed)

[Andrew Foster](https://hashnode.com/@andrewfoster73) · [Jun 30, 2022](https://hashnode.com/posts/modal-for-adding-records/62bdd37fe4246414d3d2d9b1)

### [Modal for Adding Records](https://andrewfoster.hashnode.dev/modal-for-adding-records?utm_source=hashnode&utm_medium=feed)

Part 18 of building a Rails 7 application

4 min read · [andrewfoster.hashnode.dev](https://andrewfoster.hashnode.dev/modal-for-adding-records?utm_source=hashnode&utm_medium=feed)

[Andrew Foster](https://hashnode.com/@andrewfoster73) · [Jun 23, 2022](https://hashnode.com/posts/filtering-and-sorting-with-ransack/62b47831b86f939ac81b055d)

### [Filtering and Sorting with Ransack](https://andrewfoster.hashnode.dev/filtering-and-sorting-with-ransack?utm_source=hashnode&utm_medium=feed)

Part 15 of building a Rails 7 application

9 min read · [andrewfoster.hashnode.dev](https://andrewfoster.hashnode.dev/filtering-and-sorting-with-ransack?utm_source=hashnode&utm_medium=feed)

[Andrew Foster](https://hashnode.com/@andrewfoster73) · [Jun 20, 2022](https://hashnode.com/posts/encapsulating-the-ui-with-viewcomponent-storybook/62b03e6782adbb66f3a0ae45)

### [Encapsulating the UI with ViewComponent + Storybook](https://andrewfoster.hashnode.dev/encapsulating-the-ui-with-viewcomponent-storybook?utm_source=hashnode&utm_medium=feed)

Part 13 of building a Rails 7 application

5 min read · [andrewfoster.hashnode.dev](https://andrewfoster.hashnode.dev/encapsulating-the-ui-with-viewcomponent-storybook?utm_source=hashnode&utm_medium=feed)
