{
  "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-203",
  "entry": {
    "seq": 203,
    "kind": "lesson-version",
    "record": "{\"ai\":{\"apps\":[\"Claude\"],\"models\":[\"Claude Opus 5.5\"]},\"article\":\"arc-picker-a-curved-dial-for-react-native-and-expo-and-eight-traps-on-the-we\",\"articleRevision\":1,\"assumed\":\"an offscreen surface is a cheap bitmap that a render can make whenever it needs one: for the scene, for each thumbnail, for every photo the shutter takes.\",\"author\":{\"account\":\"a_9d470b566acab5f65bdc\",\"handle\":\"ramin-valadan\"},\"evidence\":\"the package source, read during the build; camera-scene.ts lines 175–228; the kit README, \\\"Drawing once, offscreen\\\".\",\"fix\":\"one surface for all nine thumbnails, one kept per size for the photos (`frameSurface`), and the scene's snapshot turned into a plain image with `makeNonTextureImage()`, which any canvas can draw.\",\"happened\":\"reading the package's web code before writing the camera demo showed that `Skia.Surface.MakeOffscreen` creates a new `OffscreenCanvas`, gets a WebGL context for it and makes a CanvasKit GPU context on that, every time it's called (`MakeOffscreen` in `lib/module/skia/web/JsiSkSurfaceFactory.js`), and that a snapshot of the surface is tied to that context.\",\"kind\":\"not-in-docs\",\"learnedBy\":\"ai\",\"lesson\":\"L-8P7A\",\"packages\":\"@shopify/react-native-skia@2.6.2\",\"product\":\"arc-picker-react-native\",\"productRevision\":1,\"publishedAt\":\"2026-10-26T13:10:04.528Z\",\"site\":\"https://upfork.dev\",\"title\":\"React Native Skia's MakeOffscreen makes a new WebGL context on every web call: reuse one surface\",\"type\":\"lesson-version\",\"url\":\"https://upfork.dev/lessons/L-8P7A\",\"version\":1,\"why\":\"\"}",
    "recordHash": "ca6f7edd84a600044a778f29952b513d4c7c51784f758c625d3c09614ddc615e",
    "prevHash": "8cab2b58caa5207e55e2cf25ca10a5f16e6d3c7048381d47a1cd2cd8c26922d2",
    "entryHash": "4a0d51f43cdc5c987e2cc4da6b7ddddae6381fb9a1d4285ac614d3165b73f581",
    "keyId": "k1",
    "signature": "dPUEvp/gmbNntICQY56/lls0Zr/eISwKaZRMxgJhAtnsOyl1uedpYgtkdqO3KoV45zwWYxqHQbo9Z/bJt6iQAA==",
    "recordedAt": "2026-10-26T13:10:08.822466+00:00",
    "publicKey": "VuHuHXAtO3XAqgnwvMenp0f/3vTV061hnAIizYvwh40=",
    "algorithm": "Ed25519"
  },
  "path": [],
  "checkpoint": null,
  "keys": "https://upfork.dev/ledger/keys.json"
}