{
  "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-840",
  "entry": {
    "seq": 840,
    "kind": "lesson-version",
    "record": "{\"ai\":{\"apps\":[\"Claude\"],\"models\":[\"Claude Opus 5.5\"]},\"appliesTo\":\"expo@>=57 <58, other: UpFork's mobile kit and import (2026-11)\",\"article\":\"swing-tags-and-a-flight-off-the-hook-in-react-native-outline-hit-tests-share\",\"articleRevision\":1,\"assumed\":\"a 2× and a 3× picture with no 1× file were enough: `require('x.webp')` resolves to the `@2x` copy in Metro, and the web export built.\",\"author\":{\"account\":\"a_9d470b566acab5f65bdc\"},\"check\":\"run the product's checker (here UpFork's mobile kit check, `npm run check`): no missing-file report; the web export loads every density.\",\"evidence\":\"the check passed: no rule problems, no type errors, 444 KB of JavaScript gzipped (commit ac5146e).\",\"fix\":\"the export writes the 1× file beside the 2× and 3× files, and the demo data moved to `lib/demo-garments.ts`.\",\"format\":2,\"happened\":\"UpFork's mobile check (and its import, which reports the same codes) said `missing-file` on every rail picture: it checks that the named file exists. Requiring the `@2x` name directly fails in Metro instead (`UnableToResolveError`). A second report, `demo-export`, came from generated data kept under `demos/`, which the rule reads as screens.\",\"kind\":\"tools\",\"learnedBy\":\"ai\",\"lesson\":\"L-G006\",\"packages\":\"expo@57.0.28\",\"product\":\"fashion-shop-product-carousel-react-native\",\"productRevision\":1,\"publishedAt\":\"2026-11-14T09:04:49.247Z\",\"rule\":\"If an asset check reports missing-file for pictures that Metro bundles fine from @2x and @3x files alone, add the 1× base file; requiring the @2x name itself fails in Metro.\",\"site\":\"https://upfork.dev\",\"snippet\":\"```ts\\n// before: only the 2x and 3x copies on disk, required by the base name\\nconst rail = require('../assets/garments/g01-front-rail.webp'); // Metro finds the 2x copy; a checker does not\\n// after: assets/garments/g01-front-rail.webp beside its 2x and 3x copies (also right for 1x screens)\\n```\",\"title\":\"Metro finds a picture's @2x without a base file, but checkers of require() paths want the base: ship name.webp too\",\"type\":\"lesson-version\",\"url\":\"https://upfork.dev/lessons/L-G006\",\"version\":1,\"why\":\"\"}",
    "recordHash": "773d4a549cbff638705d96817b11d217421c0cd0553a33924832fa9e43f3a91f",
    "prevHash": "af9087ef0fdd1c33114e478711a5382ea072fd15884d7175fc8c4251c14a4627",
    "entryHash": "b067b82b3ff1611468d4ee94c82af168f0400873c0e0ff11712ecce771930572",
    "keyId": "k1",
    "signature": "1f7RWFZtAGsp/5fRcrrUhdr7XSZ8z80uonUaKI4FrcXeN+/xVp8IPhausxQk+8BgF9H873JjLkdjA2b2byYtAw==",
    "recordedAt": "2026-11-14T09:05:31.206383+00:00",
    "publicKey": "VuHuHXAtO3XAqgnwvMenp0f/3vTV061hnAIizYvwh40=",
    "algorithm": "Ed25519"
  },
  "path": [
    {
      "seq": 841,
      "prevHash": "b067b82b3ff1611468d4ee94c82af168f0400873c0e0ff11712ecce771930572",
      "recordHash": "de5433791ac807fb4a1f568cc3c1915685b03db8a2d28a32a32b6ce4f6d328b7",
      "entryHash": "abe1b6330dcbdb6166a7f7403095e954fb9684950732befb18b4ada1ed444d30"
    },
    {
      "seq": 842,
      "prevHash": "abe1b6330dcbdb6166a7f7403095e954fb9684950732befb18b4ada1ed444d30",
      "recordHash": "a53f25fb442567410a7ff08583378d1bc50970318ef0ddc09ae9529f1fe71489",
      "entryHash": "e6a3a637df00fc39f45c8efec9d99d72413c1d1177990cc6e8354250802efac0"
    },
    {
      "seq": 843,
      "prevHash": "e6a3a637df00fc39f45c8efec9d99d72413c1d1177990cc6e8354250802efac0",
      "recordHash": "5c3ea41050a69d9e9b7c68c8ae34d597d309cfdc0e03093e4df1e6e25b3c0181",
      "entryHash": "28c6fb492b7c63105d7db454ac61e1e2f383ca7cd99ec3ef9866c1701582f317"
    },
    {
      "seq": 844,
      "prevHash": "28c6fb492b7c63105d7db454ac61e1e2f383ca7cd99ec3ef9866c1701582f317",
      "recordHash": "c80bd6c67aff2c874f8718bc830cca7a1a8b8cb354f91f216591e128193f399a",
      "entryHash": "a7a38da01fc9a216e01ade45a8a338b9dc073539ba6e5e785c1cd7d5eb513e36"
    },
    {
      "seq": 845,
      "prevHash": "a7a38da01fc9a216e01ade45a8a338b9dc073539ba6e5e785c1cd7d5eb513e36",
      "recordHash": "8c3a6886b67be4405073384ed57ea55f38a5512035912ca2bb7e735c9bdb4c5e",
      "entryHash": "7521085d5e7cfbaffb3e33f86eab16ee31658d70a16965b961b03aacf06437b6"
    }
  ],
  "checkpoint": {
    "seq": 845,
    "kind": "checkpoint",
    "record": "{\"day\":\"2026-11-15\",\"entries\":844,\"head\":\"a7a38da01fc9a216e01ade45a8a338b9dc073539ba6e5e785c1cd7d5eb513e36\",\"site\":\"https://upfork.dev\",\"type\":\"checkpoint\"}",
    "recordHash": "8c3a6886b67be4405073384ed57ea55f38a5512035912ca2bb7e735c9bdb4c5e",
    "prevHash": "a7a38da01fc9a216e01ade45a8a338b9dc073539ba6e5e785c1cd7d5eb513e36",
    "entryHash": "7521085d5e7cfbaffb3e33f86eab16ee31658d70a16965b961b03aacf06437b6",
    "keyId": "k1",
    "signature": "0CRQzJAXIZ9MdPCCv8CAR6mkPUIiS7nEOJfKzd9HeKY5UsYsESeuvMQq5ykF8ePHn6TBjoRuz692n4upuiQ4DQ==",
    "recordedAt": "2026-11-15T00:05:30.910485+00:00",
    "publicKey": "VuHuHXAtO3XAqgnwvMenp0f/3vTV061hnAIizYvwh40=",
    "algorithm": "Ed25519"
  },
  "author": {
    "account": "a_9d470b566acab5f65bdc",
    "handle": "ramin-valadan",
    "former": false,
    "recordFormat": 2
  },
  "keys": "https://upfork.dev/ledger/keys.json"
}