ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

I had a similar problem recently when implementing an infinite canvas, turned out to be a combo of React Strict Mode causing some hooks I'd written to handle the zoom state to be run more than once, causing a compounding error in the calcs

May 7, 2025, 4:59 PM

Record data

{
  "uri": "at://did:plc:ppay6tinwzp7xlrhgpn2aysg/app.bsky.feed.post/3lolunsblas26",
  "cid": "bafyreiewssx4t6wxqksueij36lzzprlwho4mxwtkuqmixgiuqyont6f6lq",
  "value": {
    "text": "I had a similar problem recently when implementing an infinite canvas, turned out to be a combo of React Strict Mode causing some hooks I'd written to handle the zoom state to be run more than once, causing a compounding error in the calcs",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreie7ntdmrlr3eohce36ql3j3uq5xokspxmevk3cincm2q4agrjzvse",
        "uri": "at://did:plc:2y6lbjkwmddrbzstzrz66owj/app.bsky.feed.post/3lokudm5mgs23"
      },
      "parent": {
        "cid": "bafyreie7ntdmrlr3eohce36ql3j3uq5xokspxmevk3cincm2q4agrjzvse",
        "uri": "at://did:plc:2y6lbjkwmddrbzstzrz66owj/app.bsky.feed.post/3lokudm5mgs23"
      }
    },
    "createdAt": "2025-05-07T16:59:20.696Z"
  }
}