ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

I made an ESLint rule to help detect chained higher-order array methods, so I can replace them with a single `.reduce()` to improve the performance of my code.

Nov 24, 2024, 6:08 AM

Record data

{
  "uri": "at://did:plc:ytn4pf4tmc3mtlhf4ub76mb5/app.bsky.feed.post/3lbodth7ljc2f",
  "cid": "bafyreiaz5kwhzzizotmimkb6pgkjui2haqv2wlixxv7ldlpf32oht2ghxi",
  "value": {
    "text": "I made an ESLint rule to help detect chained higher-order array methods, so I can replace them with a single `.reduce()` to improve the performance of my code.",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.images",
      "images": [
        {
          "alt": "",
          "image": {
            "$type": "blob",
            "ref": {
              "$link": "bafkreiav4mprc3lxzorofgnadwwovctlegozr37hqnpa2yfkbqdrsg6ewm"
            },
            "mimeType": "image/jpeg",
            "size": 234172
          },
          "aspectRatio": {
            "width": 2000,
            "height": 299
          }
        }
      ]
    },
    "langs": [
      "en"
    ],
    "createdAt": "2024-11-24T06:08:44.863Z"
  }
}