nuqayah.bsky.social
@nuqayah.bsky.social
AI agrees that the div should not have an aria role in this case

chatgpt.com/share/692314...
November 23, 2025 at 2:05 PM
AI returns `text[#ref ...]`. I post process the AI response, and replace `[#ref]` with `<button data-ref="">...</button>`

Then I listen to click events on the container, and if e.target.matches(data-ref) I process it accordingly.

Is there a better way?

I'm replicating what ChatGPT does.
November 23, 2025 at 12:57 PM
You are absolutely correct. I just tried on my VPS directly, to avoid any network overhead.

A static asset took ~10ms, while an SSR'ed page took ~25ms.
November 16, 2025 at 8:30 AM
Thanks Rich. Again, I really enjoyed the talk.

Re ssr, fwiw (maybe not that much!), I asked ai, and it had this to say.

chatgpt.com/s/t_69175cb1...
November 14, 2025 at 4:50 PM
apps.apple.com was rewritten in svelte ⚡🧡
November 3, 2025 at 7:30 PM
vite-plugin-domain: no-config ssl domains, powered by
@caddy.bsky.social (@vite.dev)

Easy as adding `domain()` to `plugins: [...]`. I work on tons of Svelte apps simultaneously, so this is a life saver.

npmjs.com/package/vite-plugin-domain
October 31, 2025 at 8:05 AM
i rewrote a popular next.js site in svelte. LOC before/after: 1/5th* of the code. <3 svelte

(this is a follow upon my previous post bsky.app/profile/nuqa...)

* 1/5th and not 1/6.7th since there are a few more features to add to svelte version
October 25, 2025 at 8:41 AM
i rewrote a popular next.js site in svelte. before/after. <3 svelte
October 24, 2025 at 12:55 PM
minor: `onerror = () => {}` is valid js, but fails in a .svelte.js file.

svelte.dev/playground/h...
October 24, 2025 at 10:56 AM
svelte kit docs:
> Data will never be preloaded if the user has chosen reduced data usage, meaning navigator.connection.saveData is true.

This makes sense, but not for mousedown/touchstart, as that will virtually always result in a click (right?).

So this simply slows down svkit sites.
October 11, 2025 at 10:42 AM
i was reading svelte kit's source. this seems to contradict? or am i missing something.
October 9, 2025 at 6:56 AM
vite-plugin-domain: no-config ssl domains, powered by @caddy.bsky.social (@vite.dev)

npmjs.com/package/vite-plugin-domain
September 29, 2025 at 4:05 PM
www.amazon.com/Philosophy-S...

Perhaps a bit of an extreme take :), but I do try to ‹adopt a “zero tolerance” philosophy›
June 9, 2025 at 9:45 AM
MPAs have better back/forward ux due to bfcache. Can kit serialize component state (à la hmr) to catch up?

@svelte.dev
June 3, 2025 at 3:41 PM
Agreed. I'll be using playwright to SSR my pages (either on-demand, or SSG), to avoid using kit. Svelte is just that simple. Simplicity is everything. I don't want to lose it.

Of course playwright adds complexity, but it's not a core part of my app, so I won't bump into it at every turn.
April 25, 2025 at 11:23 AM