T
TanStack•6mo ago
adverse-sapphire

Turn off "Injected From Server" logs?

Is there a way to disable the Injected From Server: __TSR_SSR__.initMatch... logs? It's great to have them for some things, but other times they distract from what I'm working on or debugging.
10 Replies
vicious-gold
vicious-gold•6mo ago
not possible right now can you please create a github issue for this? and ideally... a PR 😄
adverse-sapphire
adverse-sapphireOP•6mo ago
Yeah, I'd be happy to! I'll take a look this weekend
rival-black
rival-black•4mo ago
is there any update on this? also getting tired of scanning for a single console.log in between these lines 😄
vicious-gold
vicious-gold•4mo ago
not yet but this will go away in the future
flat-fuchsia
flat-fuchsia•3mo ago
Hope this get resolved soon
solid-orange
solid-orange•3mo ago
https://github.com/TanStack/router/pull/4604 @Manuel Schiller @var @Kevin Ris
GitHub
fix: remove debug log by kusiewicz · Pull Request #4604 · TanStac...
several people asked about it on discord, sometimes it is annoying to wade through these logs
vicious-gold
vicious-gold•3mo ago
thanks for the PR. we can do this once https://github.com/TanStack/router/pull/4600 is merged
GitHub
feat: use seroval for SSR by schiller-manuel · Pull Request #4600 ...
also stream all queries in react-router-with-query
solid-orange
solid-orange•2mo ago
@Manuel Schiller I see 4600 is merged, so I rebased mine branch
magic-beige
magic-beige•2mo ago
Is this MR to remove it? I thought it was to make it optional and enable/disable by a feature flag from tanstackStart 🥲. I now it's annoying but I liked it when I need to debug. @Manuel Schiller is it possible to add it as flag? I can add a MR for that
vicious-gold
vicious-gold•2mo ago
removed it now that we have a different serializtion that is not that readable anymore

Did you find this page helpful?