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

feat(ssr): improve ssr hydration mismatch checks #5953

Merged
merged 2 commits into from
Dec 8, 2023
Merged

Conversation

yyx990803
Copy link
Member

@yyx990803 yyx990803 commented May 19, 2022

  • Include the actual element in the warning message
  • Also warn class/style/attribute mismatches

Note: class/style/attribute mismatches are check-only and will not be rectified. This is because the performance overhead of checking and rectifying all props in production will be prohibitively expensive.

The check could potentially lead to false positives so we need to test this in a beta.

close #5063

- Include the actual element in the warning message
- Also warn class/style/attribute mismatches

Note: class/style/attribute mismatches are check-only and will not be
rectified.

close #5063
@yyx990803 yyx990803 merged commit 2ffc1e8 into minor Dec 8, 2023
6 checks passed
@yyx990803 yyx990803 deleted the ssr-mismatch-check branch December 8, 2023 07:49
yyx990803 added a commit that referenced this pull request Dec 12, 2023
…ings

this was swapped in #9098 but lost when merging #5953
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
1 participant