Bump rollup from 4.35.0 to 4.59.0 #1293
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
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:4b0786486d5eb858456d88ebf3bb1573b5547c70a27880423a45edcea7dc764d
|
|