router.addHandler('log-in', async ({...}) => {...})
We would most likely go even further and split even the routes into separate files.
router.addHandler
takes label
and handler function
as a parameter. You may import both from different file.handler
you'd have to account for in your cloned type. dodging the problem imo π₯²