2 ms·
I've used it with nuxtjs (front-end) and it's the greatest thing ever. Forces Junior devs to make front-end files that can be inuitively found by the nature of
by antifa 3y ago
I've used it with nuxtjs (front-end) and it's the greatest thing ever. Forces Junior devs to make front-end files that can be inuitively found by the nature of what they are (the file's filename has a logical relationship with it's URL in the browser), no longer need to maintain large garbage piles called router files. Objectively, there's literally no advantage to manually managing a router file. NuxtJS proves this for the front-end SPA.
I've been looking for a backend nodejs HTTP framework that is a) Typescript-first b) actually good that has file-system-based routing and so far haven't found anything. Adding HTTP methods on top of what nuxtjs' filesystem based routing does has me a little skeptical of what's possible, but I'll investigate Hono on this basis alone.
Also the "Edge-first" thing tells me this backend framework is probably better tree-shakable than what most other ancient/modern nodejs http servers have been doing. Cold starts will be better no matter where you deploy.