Bump vite from 5.4.14 to 5.4.21 #1248
test.yml
on: push
Matrix: Build and run test Suite
Matrix: Check package config with are-the-types-wrong
Matrix: test-dist
Matrix: test-published-artifact-local
Matrix: test-published-artifact
Matrix: test-types
Annotations
2 errors
|
Run local tests against build artifact (React ^19)
Process completed with exit code 1.
|
|
test/integration/ssr.spec.tsx > New v8 serverState behavior > Handles hydration correctly:
test/integration/ssr.spec.tsx#L176
AssertionError: expected 'Hydration failed because the server r…' to match /Hydration failed because the server r…/
- Expected:
/Hydration failed because the server rendered HTML didn't match the client/
+ Received:
"Hydration failed because the server rendered text didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
- A server/client branch `if (typeof window !== 'undefined')`.
- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.
- Date formatting in a user's locale which doesn't match the server.
- External changing data without sending a snapshot of it along with the HTML.
- Invalid HTML tag nesting.
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
https://react.dev/link/hydration-mismatch
<Provider store={{...}}>
<App>
<div>
<Suspense fallback={<Spinner>}>
<GlobalCountButton>
<button disabled={true} style={{...}} onClick={function onClick}>
+ Not hydrated. Count: 1
- Not hydrated. Count: 0
...
"
❯ test/integration/ssr.spec.tsx:176:32
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
package
|
189 KB |
sha256:249e2deba0c4c5cd687fbc37b832449de489c9ab0cdf0969ca8d46c98152179d
|
|