Skip to content
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

Extra whitespace not removed for SSR snapshots #204

Closed
nolanlawson opened this issue Aug 8, 2023 · 1 comment · Fixed by #205
Closed

Extra whitespace not removed for SSR snapshots #204

nolanlawson opened this issue Aug 8, 2023 · 1 comment · Fixed by #205

Comments

@nolanlawson
Copy link
Contributor

nolanlawson commented Aug 8, 2023

In #199 we removed extra whitespace (empty text nodes) from snapshots, but we only did this for client-side snapshots, not SSR snapshots.

This means that salesforce/lwc#3649 is still a breaking change for SSR snapshots.

@nolanlawson
Copy link
Contributor Author

I can't even think of a way to test this before salesforce/lwc#3649 is released; we can't manually insert empty text nodes because renderedCallback doesn't run...

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 a pull request may close this issue.

1 participant