{"record":{"id":"008a18ac5f65fd8b","repo":"DioxusLabs/dioxus","slug":"visible-fragment-creation-requires-an-insertion-si","errorCode":null,"errorMessage":"visible fragment creation requires an insertion site","messagePattern":"visible fragment creation requires an insertion site","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/core/src/diff/node.rs","lineNumber":268,"sourceCode":"                    .dom\n                    .clear_mounted_fragment_children(mount, slot.index());\n            }\n            (true, false) => {\n                // Empty → non-empty: visible diffs stage new content at the\n                // slot insertion site. Hidden/no-writer diffs only materialize\n                // mount state, so there is no renderer placement to resolve.\n                let context = state.context();\n                let site = state\n                    .has_writer()\n                    .then(|| insertion_site_for_slot(mount, slot, state.dom, context));\n                let children =\n                    state\n                        .dom\n                        .begin_mounted_fragment_children(mount, slot.index(), new.len());\n                state.create_children_at_site(\n                    new,\n                    parent,\n                    |_| site.expect(\"visible fragment creation requires an insertion site\"),\n                    children,\n                );\n                state.dom.commit_mounted_fragment_children(children);\n            }\n            (false, true) => {\n                state\n                    .dom\n                    .remove_nodes(state.to.as_deref_mut(), old, &old_mounts);\n                state\n                    .dom\n                    .clear_mounted_fragment_children(mount, slot.index());\n            }\n            (false, false) => {\n                let context = state.context();\n                let fallback_site = state\n                    .has_writer()\n                    .then(|| insertion_site_for_slot(mount, slot, state.dom, context));\n                let children =","sourceCodeStart":250,"sourceCodeEnd":286,"githubUrl":"https://github.com/DioxusLabs/dioxus/blob/24f6a829df0dfa203961a98ea4cae21c2ff27e28/packages/core/src/diff/node.rs#L250-L286","documentation":"Internal diffing invariant: transitioning a fragment slot from empty to non-empty requires an insertion site to place the new content at, but none could be resolved. Indicates the mounted tree and vnode shape disagree.","triggerScenarios":"Thrown at packages/core/src/diff/node.rs:268 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["This is an internal invariant about fragment creation. Report it with a minimal reproduction to the Dioxus issue tracker."],"exampleFix":null,"handlingStrategy":"type-guard","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"24f6a829df0dfa203961a98ea4cae21c2ff27e28","analyzedAt":"2026-08-23T07:10:14.078Z","contentChangedAt":"2026-08-23T07:10:14.078Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}