mastodon.ar.al is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is my personal fediverse server.

Administered by:

Server stats:

1
active users

Aral Balkan

@nus@mstdn.social Not magic… just a little behind the scenes sprinkling of htmx along with an automatically created WebSocket route and some simple conventions ;)

✨ :kitten: ✨

@nus@mstdn.social Although I really don’t like the positional parameters in the onConnect() call… would be much nicer if it was an argument object and you could do, e.g.,

export function onConnect ({ page }) {
// …
}

If I do that there, though, I’ll likely have to change all the route signatures… is the world ready for:

export default function ({ request, response }) {
// …
}

Been thinking about this today since components do use argument objects but Express routers, etc., use positional arguments…