ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Day 1 — error boundaries! Wrap your code in a <svelte:boundary> and you can isolate and recover from unexpected errors. šŸŽ docs svelte.dev/docs/svelte/... šŸŽ tutorial svelte.dev/tutorial/sve...

Dec 1, 2024, 3:15 PM

Record data

{
  "uri": "at://did:plc:b6gbde64ngpelprsvnphc2l2/app.bsky.feed.post/3lcavocgnoc2k",
  "cid": "bafyreifh44yeqs4v2nbzjlv3qq3ka5sxolxygdodw6ezgbcif7757l6kya",
  "value": {
    "text": "Day 1 — error boundaries! Wrap your code in a <svelte:boundary> and you can isolate and recover from unexpected errors. \n\nšŸŽ docs svelte.dev/docs/svelte/...\nšŸŽ tutorial svelte.dev/tutorial/sve...",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.images",
      "images": [
        {
          "alt": "Screenshot of the new <svelte:boundary> feature in Svelte 5.3",
          "image": {
            "$type": "blob",
            "ref": {
              "$link": "bafkreigyimndzashylhpj6jxjrtgsac27ybdfpz3zsexb3bnqarazl66pa"
            },
            "mimeType": "image/jpeg",
            "size": 225894
          },
          "aspectRatio": {
            "width": 1010,
            "height": 798
          }
        }
      ]
    },
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreieay7byr4wjm7fybgxcjbsa7b6v36dc3jmrv3gwtoxlffk3lh33ve",
        "uri": "at://did:plc:b6gbde64ngpelprsvnphc2l2/app.bsky.feed.post/3lcavobxn7c2k"
      },
      "parent": {
        "cid": "bafyreieay7byr4wjm7fybgxcjbsa7b6v36dc3jmrv3gwtoxlffk3lh33ve",
        "uri": "at://did:plc:b6gbde64ngpelprsvnphc2l2/app.bsky.feed.post/3lcavobxn7c2k"
      }
    },
    "facets": [
      {
        "index": {
          "byteEnd": 160,
          "byteStart": 134
        },
        "features": [
          {
            "uri": "https://svelte.dev/docs/svelte/svelte-boundary",
            "$type": "app.bsky.richtext.facet#link"
          }
        ]
      },
      {
        "index": {
          "byteEnd": 201,
          "byteStart": 175
        },
        "features": [
          {
            "uri": "https://svelte.dev/tutorial/svelte/svelte-boundary",
            "$type": "app.bsky.richtext.facet#link"
          }
        ]
      }
    ],
    "createdAt": "2024-12-01T15:15:54.234Z"
  }
}