[BUGFIX beta] Allow tagName to be a computed property.

It will only be used to determine the initial tagName to use, and will not cause a rerender if its value changes.

Closes #9742.