ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

I feel like using data attributes is "more correct", but I'm waiting to see what best practices start to appear. Nicer to just go with a custom attribute, but I want to see what others think too. If I was making a custom element, I'd definitely just go with custom attributes, though.

Apr 17, 2025, 12:15 PM

Record data

{
  "uri": "at://did:plc:xbj7qbl7qmoo7dpf5dheplex/app.bsky.feed.post/3lmz3imnavk2y",
  "cid": "bafyreifzwjm5wdk43namq7texxmf3imh54o2txmnfu7sizvawtzxpbe6ye",
  "value": {
    "text": "I feel like using data attributes is \"more correct\", but I'm waiting to see what best practices start to appear. \n\nNicer to just go with a custom attribute, but I want to see what others think too.\n\nIf I was making a custom element, I'd definitely just go with custom attributes, though.",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreigstgm4nejflgg5syd5st4nbylzz2l5arlmrecmr3mrklwmng5k4e",
        "uri": "at://did:plc:2cpnrefqsfucl4lvo3h2yzfh/app.bsky.feed.post/3lmxxaxeghk2n"
      },
      "parent": {
        "cid": "bafyreid7d47x76ekdal3d42t546yn33pjpzbrq4bx5i7snwrwnrdn5mne4",
        "uri": "at://did:plc:xbj7qbl7qmoo7dpf5dheplex/app.bsky.feed.post/3lmz3imgtt22y"
      }
    },
    "createdAt": "2025-04-17T12:15:56.342Z"
  }
}