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

windows <pre> handling results in hydration errors in dev #6410

Closed
danielroe opened this issue Aug 5, 2022 · 0 comments
Closed

windows <pre> handling results in hydration errors in dev #6410

danielroe opened this issue Aug 5, 2022 · 0 comments
Labels
feat: ssr 🐞 bug Something isn't working

Comments

@danielroe
Copy link
Member

danielroe commented Aug 5, 2022

Vue version

3.2.37

Link to minimal reproduction

https://github.com/danielroe/vue3-pre-window-repro

Steps to reproduce

  1. git clone https://github.com/danielroe/vue3-pre-window-repro on a Windows machine
  2. pnpm i
  3. pnpm dev
  4. visit http://localhost:3000

What is expected?

No hydration errors.

What is actually happening?

You will see a hydration error.

The issue is \r\n on server not matching \n on client.

CleanShot 2022-08-05 at 11 43 34

System Info

No response

Any additional comments?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: ssr 🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants