We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, thank for such wonderful project
just stumble upon Dynamic component bugs. provided REPL of bug
when <:Component> inside other
<div> <:Component {view}></:Component> </div>
switching to other type causing null error as compiled code mount to null.parentNode
null.parentNode
m: function mount(target, anchor) { insertNode(h1, target, anchor); insertNode(text_1, target, anchor); insertNode(div, target, anchor); if (switch_instance) switch_instance._mount(div, null); }, p: function update(changed, state) { if (switch_value !== (switch_value = state.view)) { if (switch_instance) switch_instance.destroy(); if (switch_value) { switch_instance = new switch_value(switch_props(state)); switch_instance._fragment.c(); switch_instance._mount(null.parentNode, null); } } },
The text was updated successfully, but these errors were encountered:
fix dynamic components inside elements - fixes #993
7ca36c8
merge master -> gh-993
d0667a3
thank you! fixed in 1.46.1
Sorry, something went wrong.
Thank you very much
Successfully merging a pull request may close this issue.
Hi, thank for such wonderful project
just stumble upon Dynamic component bugs.
provided REPL of bug
when <:Component> inside other
switching to other type causing null error as compiled code mount to
null.parentNode
The text was updated successfully, but these errors were encountered: