Streaming SSR error
Hey, I build and start locally this example TSS app and I am getting this error, when I refresh the page on
http://localhost:3000/deferred
NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
This doesn't happen when I do client navigation (meaning from /client
to /deferred
)
Did anyone struggle with that too?GitHub
router/examples/react/start-basic-react-query at main · TanStack/ro...
🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering. - TanStack/router

11 Replies
other-emeraldOP•7mo ago
GitHub
router/examples/react/start-basic-react-query/app/routes/deferred.t...
🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering. - TanStack/router
fascinating-indigo•7mo ago
strange, can you please share your repo?
other-emeraldOP•7mo ago
@Manuel Schiller It's private, I could make it public if you need. But really there's no other changes apart from that
async
keyword. Are you having same issu?fascinating-indigo•7mo ago
did not try it 😄
just wondering whether its working inside the monorepo but not outside
other-emeraldOP•7mo ago
what is your github nickname? I will add you as collabolator
fascinating-indigo•7mo ago
schiller-manuel
other-emeraldOP•7mo ago
invited
fyi it's this line https://github.com/dominikjasek/domstack-template/blob/master/client/app/routes/deferred.tsx#L40
fascinating-indigo•7mo ago
so does this happen in dev or in prod?
i just tried it out, works for me in both dev and prod
however, I have commented out this strapi thing
other-emeraldOP•7mo ago
It happened only in prod to me
eastern-cyan•2mo ago
I have the same issue could you share the code block @dominikjasek ?
fascinating-indigo•2mo ago
do we have a complete example that reproduces this?