Skip to content

Improved handling of can-tag

Choose a tag to compare

@Macrofig Macrofig released this 03 Oct 15:46
· 108 commits to master since this release

Release fixes usage of can-tag with the can-import and can-dynamic-import components.

When the desired can-tag has not been declared yet, the expected behavior is to not render the content of the can-import component but then to log a warning in the console in development mode.

Using the correct tag syntax (hyphenated string) like hello-world and the incorrect syntax helloworld both throw a warning if not already declared.

Note: Although helloworld is invalid, a component can still be created this way, although a warning will be logged.