You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already report this problem, without success.
Stencil Version
4.21
Current Behavior
the file src/compiler/transformers/reserved-public-members.ts does not have all reserved HTML keyword, and sometimes it can have unexpected behavior
(eg: if you have a popover property to store HTMLElement, in development mode it work perfectly fine, but when the web-component is transformed into Vue component the popover is reflected on HTML, and broke the style and the HTML
Prerequisites
Stencil Version
4.21
Current Behavior
the file
src/compiler/transformers/reserved-public-members.ts
does not have all reserved HTML keyword, and sometimes it can have unexpected behavior(eg: if you have a
popover
property to storeHTMLElement
, in development mode it work perfectly fine, but when the web-component is transformed into Vue component thepopover
is reflected on HTML, and broke the style and the HTMLExpected Behavior
Warn the developer about new reserved keyword
System Info
Steps to Reproduce
sh demo.sh
(install project)npm start -w @test/core
to see how stencil handle the keywordpopover
in dev.npm start -w @test/demo
to see how outside stencil the keywordpopover
is handled.Code Reproduction URL
https://github.com/Sukaato/stencil-reserved-keyword
Additional Information
Add the reserved keyword to
src/compiler/transformers/reserved-public-members.ts
inHTML_ELEMENT_KEYS
array.The text was updated successfully, but these errors were encountered: