ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Do you know the difference between useCallback and useMemo? - useMemo returns the cached result - useCallback returns the cached function There you go

Apr 24, 2025, 4:07 PM

Record data

{
  "uri": "at://did:plc:pm3b37ckhujbtflum3bcdrbz/app.bsky.feed.post/3lnl3prbw3c2q",
  "cid": "bafyreigjafv366gm5g6j3oa4zn5og2x2i76v6cdevlqroweo3mm466rdpy",
  "value": {
    "text": "Do you know the difference between useCallback and useMemo?\n\n- useMemo returns the cached result\n- useCallback returns the cached function\n\nThere you go",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.images",
      "images": [
        {
          "alt": "",
          "image": {
            "$type": "blob",
            "ref": {
              "$link": "bafkreic3kehccutjcmtgdyx3wptn4mxypgjoo637cjboia4mtkuykqpjo4"
            },
            "mimeType": "image/jpeg",
            "size": 198620
          },
          "aspectRatio": {
            "width": 494,
            "height": 487
          }
        }
      ]
    },
    "langs": [
      "en"
    ],
    "createdAt": "2025-04-24T16:07:51.590Z"
  }
}