ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Day 10 — a lot of you wanted a place to put asynchronous setup work that happens before your SvelteKit app starts up. You can now export an `init` function from `hooks.server.js` and `hooks.client.js` that will be awaited before any other stuff happens 🎁 docs svelte.dev/docs/kit/hoo...

Dec 10, 2024, 4:07 PM

Record data

{
  "uri": "at://did:plc:b6gbde64ngpelprsvnphc2l2/app.bsky.feed.post/3lcxmqdv52s2j",
  "cid": "bafyreighb2bbjuwjzvrkjgr62stsiwu6yufjbrd3374kudw27wongx5ce4",
  "value": {
    "text": "Day 10 — a lot of you wanted a place to put asynchronous setup work that happens before your SvelteKit app starts up. You can now export an `init` function from `hooks.server.js` and `hooks.client.js` that will be awaited before any other stuff happens\n\n🎁 docs svelte.dev/docs/kit/hoo...",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.external",
      "external": {
        "uri": "https://svelte.dev/docs/kit/hooks#Shared-hooks-init",
        "thumb": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreigpjgdhn2endxp4ldokatjkw2a2liwocshohjueeckv34kdrmek6y"
          },
          "mimeType": "image/jpeg",
          "size": 334188
        },
        "title": "Hooks • Docs • Svelte",
        "description": "Hooks • Svelte documentation"
      }
    },
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreieay7byr4wjm7fybgxcjbsa7b6v36dc3jmrv3gwtoxlffk3lh33ve",
        "uri": "at://did:plc:b6gbde64ngpelprsvnphc2l2/app.bsky.feed.post/3lcavobxn7c2k"
      },
      "parent": {
        "cid": "bafyreibbhvvpvl2y7gqi3pbdr36j3drmaisexkngxu26pjme7hrnd3ie4y",
        "uri": "at://did:plc:b6gbde64ngpelprsvnphc2l2/app.bsky.feed.post/3lcvfgwvxcs2n"
      }
    },
    "facets": [
      {
        "index": {
          "byteEnd": 292,
          "byteStart": 266
        },
        "features": [
          {
            "uri": "https://svelte.dev/docs/kit/hooks#Shared-hooks-init",
            "$type": "app.bsky.richtext.facet#link"
          }
        ]
      }
    ],
    "createdAt": "2024-12-10T16:07:13.664Z"
  }
}