View Component or Tag Helper?

Suppose you are working on an ASP.NET Core web application. To avoid havingn the views and layouts grow massively, you plan to separate some parts of these to independent components. This way you don't repeat code you wrote once. You find view components and tag helpers, but which one should you use?

The Difference Between View Components and Tag Helpers

It's important to understand what is what before doing any work.

What feeling does this article give you?
Joy
Disgust
Fear
Anger
Sadness

#hashtags to follow:

ASP [+]    NET Core [+]   

More #news: