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
Help us to manage our issues by answering the following:
Describe your issue:
With Riot v4, the elements which exists in a certain element is left after mounting that tag.
For example, if there is <my-tag><h1>hello</h1></my-tag> in index.html and my-tag is even defined without <slot /> tag internally, Riot injects the elements <h1>hello</h1> into the mounted tags.
I think this is a bug cuz with Riot v3 there is no such behavior.
The text was updated successfully, but these errors were encountered:
Qs-F
changed the title
Riot v4 inserts elements which exists in pre-mounted tag without <slot />
Riot v4 inserts elements which exists in pre-mounted element without <slot />
Oct 19, 2019
@Qs-F sorry this feature is no longer supported. I guess Vue.js supports it though but the library is also ~5 times bigger than Riot.js. I had to remove the runtime HTML parsing improving performance and maintainability of the core
Help us to manage our issues by answering the following:
With Riot v4, the elements which exists in a certain element is left after mounting that tag.
For example, if there is
<my-tag><h1>hello</h1></my-tag>
inindex.html
andmy-tag
is even defined without<slot />
tag internally, Riot injects the elements<h1>hello</h1>
into the mounted tags.I think this is a bug cuz with Riot v3 there is no such behavior.
Yes.
Riot v4 example
Riot v3 behavior comparison
Chrome / Mac
4.6.5
The text was updated successfully, but these errors were encountered: