Bump vite from 5.4.14 to 5.4.21 #1249
test.yml
on: pull_request
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
3 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
|
|
Test Published Artifact expo
Process completed with exit code 1.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
package
|
189 KB |
sha256:927bbc2107239a900c7b97c0bb75940ad81245686e0b54cc474aeaaf0973e5f8
|
|