When should I use componentUrl and when should I use just url?

I’m new to this, I know that I should use template for componentUrl and not for url, but I don’t know how to choose between them. Help me out please!

Use component where you need data-driven template or page-specific JS logic

1 Like