Make hydration diff more precise
Open
@huang-julien is already working on this.
Since Mar 3, 2026.
- Dominant language
- TypeScript
- Stars
- 344
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Describe the feature
While Vue doesn't provide onMismatched hook yet, we're relying on onMounted hook.
Sometime, it creates false positives when there's no hydration mismatch.
TODO:
- investigate how we can compare first render and SSR more precisely
- make attribute comparison more precise
- ignore white spaces
Additional information
- Would you be willing to help implement this feature?
- Could this feature be implemented as a module?
Final checks
- Read the contribution guide.
- Check existing discussions and issues.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.