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
// (1:0) {{#if children}}functioncreate_if_block(component,state){varul;varchildren=state.children;vareach_blocks=[];for(vari=0;i<children.length;i+=1){each_blocks[i]=create_each_block(component,assign({},state,{children: children,child: children[i],child_index: i}));}return{c: functioncreate(){ul=createElement("ul");for(vari=0;i<each_blocks.length;i+=1){each_blocks[i].c();}},l: functionclaim(nodes){ul=claimElement(nodes,"UL",{},false);varul_nodes=children(ul);// <- children is not a functionfor(vari=0;i<each_blocks.length;i+=1){each_blocks[i].l(ul_nodes);}ul_nodes.forEach(detachNode);},
The text was updated successfully, but these errors were encountered:
It seems having keys with the same name as shared helpers can cause problems in v1.57 SSR.
eg. This runs fine on the repl, but will error when SSRing because
claim
will try to callchildren
:https://svelte.technology/repl?version=1.57.0&gist=9a26ffaad3e8741640d51c55c1600ead
The text was updated successfully, but these errors were encountered: