I Stopped Using Express.js: Because Bun and Hono 🔥

preview_player
Показать описание
Express has been around for almost as long as node has existed. It’s an awesome framework, it’s how I learned to make web servers in node and how i’ve been teaching people to make web servers for the past 8 years.

But it’s time to move on, because the alternatives are just so much better. It’s mind blowing how much the web has changed recently.

Chapters:
0:00​ Hono
0:42 Bun Server
1:52 Routing
3:33 Streaming
4:18 Middleware
4:50 JSX
6:32 Testing
8:21 Validation

🔗
Рекомендации по теме
Комментарии
Автор

Amazing video! I don’t know if it’s just me but: being able to write your server logic in Typescript without extra tooling, the fact you can write JSX, just amazing, my only concern with these new and better technologies is compatibility with existing libraries and packages, maybe you could do a video addressing that

romankng
Автор

Your content is really amazing, i would love to see a vite and hono full fledged tutorial.

AjayYoutube-rzso
Автор

i wanted to use hono for a time now but bun and hono combined looks crazy fun. I think the next project will be with bun and hono

ayushgogna
Автор

Bro will you make a full stack application using Bun, so that we can learn something from your experience

zunnoorainrafi
Автор

the use of context reminds me of how Golang Web Frameworks like Gin and Echo work. Pretty nice!

aldrickdev
Автор

JS developers change frameworks more often than they take a bath.

raident
Автор

Yo, can't wait for Hono+Vite+React setup tutorial!

koteelok
Автор

It would be great to see the performance part in comparison with express, fastify on node to understand the capabilities of this modern framework

rmnkot
Автор

While bun is great, Bun is still reliant on one primary developer.

I love bun and will continue to use it for smaller projects or side projects, but until it becomes reliable longevity wise, I prefer to stay with the standard tech for now for business focused work.

kodekorp
Автор

Amazing! We’re waiting for a full Tutorial ;-)

Marujah
Автор

I am absolutely blown away! 😮 This is so much better than Node and Express! If they come up with a framework like Nest or Adonis with bun and hono, it will absolutely dominate the backend world!

zlatkoiliev
Автор

Sam- It seems that since this video was posted, Hono has changed a bit, requiring its "helpers" -- which include: stream(), streamText() and streamSSE() -- to now be imported (i.e.: import { stream, streamText, streamSSE } from 'hono/streaming') for your streaming example @T=3:35 to work. Otherwise, well done!! Thanks.

franka
Автор

that absolutely look great!, would be nice to see hono - monorepo tutorial :D

ainulyaqin
Автор

Have you tried Elysia? The DX is really amazing

gadgetboyplaysmc
Автор

Same here. Bun + Hono is such a nice combo. Easy to work with, and holy f—— it’s performant.

npx_riff_lift-g
Автор

Thanks for showing the basic for a fresh start. Cheers!

chiquiok
Автор

How do you feel about there only being basically 1 contributor to bun? Do you still recommend bun for production even though it doesn't pass the bus test?

JohnMcclaned
Автор

Subscribed for the hono+vite magic that you'll drop

fullstack_journey
Автор

You know what I have an old express project, I will try migrating it to bun + hono . Want to see what are the gotchas in this combo.

cyrilgeorge
Автор

Tutorial for hono/vite if possible. Idk if you already did it but thanks ahead of timeif you are thinking about it.

jaymartinez
join shbcf.ru