- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.3k
fix(start): remove debug log that causes dehydration errors #2118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| ☁️ Nx Cloud ReportCI 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 targetsSent with 💌 from NxCloud. | 
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.
e7e67bd    to
    321e0b6      
    Compare
  
    | ${children}\`)` | ||
| : '' | ||
| }; __TSR__.cleanScripts()</script>`, | ||
| `<script class='tsr-once'>${children}; __TSR__.cleanScripts()</script>`, | 
There was a problem hiding this comment.
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?
| Gonna close this. I think it's better to wait for #2104 before amending this. | 
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.