nuxt / nuxt/hints

Make hydration diff more precise

Open
#257 1 comment 1 reaction 1 assignee View on GitHub

@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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.