Skip to content

Conversation

@lithdew
Copy link
Contributor

@lithdew lithdew commented Aug 11, 2024

The debug 'Injected from Server: ' logs are not properly escaped, causing dehydration to fail. These logs have been removed.

<ScriptOnce/> debug logs are removed, and the 'tsr-once' class name set on elements has an extraneous space suffixed to it which has been removed as well.

image

@nx-cloud
Copy link

nx-cloud bot commented Aug 11, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 321e0b6. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 2 targets

Sent with 💌 from NxCloud.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Aug 11, 2024

commit: 321e0b6

@tanstack/history

pnpm add https://pkg.pr.new/@tanstack/history@2118

@tanstack/react-cross-context

pnpm add https://pkg.pr.new/@tanstack/react-cross-context@2118

@tanstack/react-router

pnpm add https://pkg.pr.new/@tanstack/react-router@2118

@tanstack/react-router-with-query

pnpm add https://pkg.pr.new/@tanstack/react-router-with-query@2118

@tanstack/router-cli

pnpm add https://pkg.pr.new/@tanstack/router-cli@2118

@tanstack/router-devtools

pnpm add https://pkg.pr.new/@tanstack/router-devtools@2118

@tanstack/router-generator

pnpm add https://pkg.pr.new/@tanstack/router-generator@2118

@tanstack/router-plugin

pnpm add https://pkg.pr.new/@tanstack/router-plugin@2118

@tanstack/router-vite-plugin

pnpm add https://pkg.pr.new/@tanstack/router-vite-plugin@2118

@tanstack/start

pnpm add https://pkg.pr.new/@tanstack/start@2118

@tanstack/start-vite-plugin

pnpm add https://pkg.pr.new/@tanstack/start-vite-plugin@2118

Open in Stackblitz

More templates

The debug 'Injected from Server: ' logs are not properly escaped,
causing dehydration to fail. These logs have been removed.

<ScriptOnce/> debug logs are removed, and the 'tsr-once' class
name set on <ScriptOnce/> elements has an extraneous space suffixed to
it which has been removed as well.
@lithdew lithdew force-pushed the remove-debug-logs branch from e7e67bd to 321e0b6 Compare August 11, 2024 17:02
${children}\`)`
: ''
}; __TSR__.cleanScripts()</script>`,
`<script class='tsr-once'>${children}; __TSR__.cleanScripts()</script>`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to remove the logging for this? Couldn't we just correctly escape the console.log statements instead?

@lithdew
Copy link
Contributor Author

lithdew commented Aug 19, 2024

Gonna close this. I think it's better to wait for #2104 before amending this.

@lithdew lithdew closed this Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants