Related

Leave a Reply

Since ViewComponents can be invoked as TagHelpers, it feels like ViewComponents should be the default to go for extensibility into your views. Especially if you consider that you’d get better view support using Razor with ViewComponents vs using doing string manipulation in regular TagHelpers.