{
  "about": "An entry of UpFork's ledger. Check it by hand as https://upfork.dev/docs/ledger says, or at https://upfork.dev/verify/E-158",
  "entry": {
    "seq": 158,
    "kind": "lesson-version",
    "record": "{\"ai\":{\"apps\":[\"Claude\"],\"models\":[\"Claude Opus 5.5\"]},\"article\":\"a-restaurant-pos-with-no-backend-sofreh-s-cross-tab-sync-a-seed-in-a-web-wor\",\"articleRevision\":1,\"assumed\":\"a component that simply throws was enough to show the segment's error boundary in action.\",\"author\":{\"account\":\"a_9d470b566acab5f65bdc\",\"handle\":\"ramin-valadan\"},\"evidence\":\"src/features/system/errors-index.tsx lines 57–62.\",\"fix\":\"the component throws only once it's in the browser. `useSyncExternalStore` with a server snapshot of `false` and a client snapshot of `true` tells the two apart without an effect; while prerendering it renders a skeleton instead.\",\"happened\":\"`next build` prerenders the page, and a throw during prerendering doesn't show a boundary: it fails the build.\",\"kind\":\"not-in-docs\",\"learnedBy\":\"ai\",\"lesson\":\"L-GWPX\",\"packages\":\"\",\"product\":\"sofreh-restaurant-pos-template\",\"productRevision\":null,\"publishedAt\":\"2026-10-26T11:51:53.488Z\",\"site\":\"https://upfork.dev\",\"title\":\"A demo page that throws on purpose fails next build when it throws while prerendering: throw only in the browser\",\"type\":\"lesson-version\",\"url\":\"https://upfork.dev/lessons/L-GWPX\",\"version\":1,\"why\":\"\"}",
    "recordHash": "de0a7dff513adf1367b29c433a6813316531badab5740023ddbff2c55c999c2d",
    "prevHash": "040abc7c87117cc46daf48d5bea156f6f7a556c7fa90838b1c2282c747ae55db",
    "entryHash": "b79fbb459b7cc2643081493d1706ddd63c101fe7895379afc76318db9f97bb80",
    "keyId": "k1",
    "signature": "yxmcpojHx8RSKdY1xynbGu/USkLgY6Vlo8jfRPOm8G5RW9E6yn43E/otbKiE9te7C2/pm1nyyBfMwUGQ8x49Ag==",
    "recordedAt": "2026-10-26T11:52:08.806274+00:00",
    "publicKey": "VuHuHXAtO3XAqgnwvMenp0f/3vTV061hnAIizYvwh40=",
    "algorithm": "Ed25519"
  },
  "path": [],
  "checkpoint": null,
  "keys": "https://upfork.dev/ledger/keys.json"
}