Michael Schwarz

Results 7 comments of Michael Schwarz

Another piece of info: I'm using blueprints for the routes

This also occurs when sharing components with webpacks module federation. (In the current version of svelte, older versions work). An example is here: https://github.com/micschwarz/svelte-module-federation

@Conduitry > What's the use case here? Microfrontends are the use case :) > Would the change in #6646 prevent this immediate crash, but still leave the other less-visible issues...

https://github.com/sveltejs/svelte/pull/6646 What about this pr? Its open for month now

It's possible to fix by surrounding the content of the else branch in the processNode() function: ```js try { var childNodes = node.childNodes; processNodes(childNodes, function () { processNode(nodes, index +...

I've gone over the code again... the problem is recursion. Simply exchange the whole observer code starting in line 87 with my version: ```js $(document).ready(function () { observeDOM(document.querySelector('body'), function (mutations)...

@developer-mahmoud posted another solution for this problem