ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Aside from Advent of Svelte, we've also been shipping a bunch of minor bugfixes and improvements. For example, `if` blocks are now treeshakeable — if you have a condition that can be known statically, like `{#if BROWSER}`, then dead code will be eliminated by a minifier

Dec 6, 2024, 6:17 PM

{
  "text": "Aside from Advent of Svelte, we've also been shipping a bunch of minor bugfixes and improvements. For example, `if` blocks are now treeshakeable — if you have a condition that can be known statically, like `{#if BROWSER}`, then dead code will be eliminated by a minifier",
  "$type": "app.bsky.feed.post",
  "embed": {
    "$type": "app.bsky.embed.images",
    "images": [
      {
        "alt": "A screenshot of svelte.dev/playground showing the generated code for a component with a static if condition",
        "image": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreigtrtbf6c4sifikejkod2wgbobwqd44pnyzemjx6hiorowpi5pp7e"
          },
          "mimeType": "image/jpeg",
          "size": 556464
        },
        "aspectRatio": {
          "width": 2000,
          "height": 1671
        }
      },
      {
        "alt": "The result of running the output of the Svelte compiler through treeshaking, using rollupjs.org/repl",
        "image": {
          "$type": "blob",
          "ref": {
            "$link": "bafkreials2adqr4quin5lq32mr6cbovlrkovrj6vhpstp45ojfqhqs3k5y"
          },
          "mimeType": "image/jpeg",
          "size": 828792
        },
        "aspectRatio": {
          "width": 2000,
          "height": 1343
        }
      }
    ]
  },
  "langs": [
    "en"
  ],
  "createdAt": "2024-12-06T18:17:04.106Z"
}