@nus 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 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…