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
following #106, react-templates currently allows to render non native HTML DOM elements (e.g. WebComponents) if they follow kebab-case naming, but due to a bug, it works only if there is only one hyphen character:
<my-tag></my-tag> => React.createElement('my-tag', {}); // OK !
<the-my-tag></the-my-tag> => React.createElement(the - my - tag, {}); // wrong !
The text was updated successfully, but these errors were encountered:
nippur72
added a commit
to nippur72/react-templates
that referenced
this issue
Sep 5, 2016
following #106,
react-templates
currently allows to render non native HTML DOM elements (e.g. WebComponents) if they followkebab-case
naming, but due to a bug, it works only if there is only one hyphen character:The text was updated successfully, but these errors were encountered: