Skip to content

Commit b5cbcc0

Browse files
Update src/content/guides/modern-web-platform.mdx
Co-authored-by: Aviv Keller <me@aviv.sh>
1 parent 601fdf1 commit b5cbcc0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/guides/modern-web-platform.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ T> Familiarity with [code splitting](/guides/code-splitting/), [caching](/guides
1414

1515
### Problem
1616

17-
If more than one JavaScript bundle executes `customElements.define()` for the same tag name, the browser throws **DOMException: Failed to execute 'define' on 'CustomElementRegistry'**. That often happens when the module that registers an element is duplicated: separate entry points or async chunks each contain a copy of the registration code, so two bundles both run `define` for the same tag.
17+
If more than one JavaScript bundle executes `customElements.define()` for the same tag name, the browser throws `DOMException: Failed to execute 'define' on 'CustomElementRegistry'`. That often happens when the module that registers an element is duplicated: separate entry points or async chunks each contain a copy of the registration code, so two bundles both run `define` for the same tag.
1818

1919
### Approach
2020

0 commit comments

Comments
 (0)