Repository navigation
Commit cb804cf
test(server): cover rejected SSR lazy() reaching Errored + add changeset (solidjs#2780)
Adds the regression test the PR was missing. The original attempt asserted
the <Errored> fallback rendered into the server HTML, but in the streamed
case (rejected lazy under a Loading boundary) the server only serializes the
error at the boundary id and the client renders the fallback via the existing
streamed-fragment hydration path. The test asserts the correct server-side
behavior: the rejection is captured/serialized and the render completes
instead of hanging on NotReadyError or leaking an unhandledRejection.
Co-authored-by: Cursor <[email protected]>1 parent ffae3af commit cb804cf
2 files changed
Lines changed: 36 additions & 0 deletions
File tree
- .changeset
- packages/solid-web/test/server
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
269 | 300 | | |
270 | 301 | | |
271 | 302 | | |
| |||
0 commit comments