Loading video...

Video Failed to Load

Go Home

🌶️ Express is the new JQuery. Let me explain! #WhiteboardTheWeb edition 115

74,559 views • 3 years ago •via X (Twitter)

31 Comments

Wes Bos's profile picture
Wes Bos3 years ago

Hono.js is the way forward here, uses all these standards and adds the nice route matching and shortcut response methods you'd expect from express. Works on every JS runtime

SaltyAom's profile picture
SaltyAom3 years ago

@honojs is great, should try it out

Elliot Grey's profile picture
Elliot Grey3 years ago

For large scale apis, or micro services, I still prefer NestJs. Hono or fastify, for small scale stuff.

😮‍💨's profile picture
😮‍💨3 years ago

And theres the fact that I didn't know Express was unmaintained until halway through personal project that used it

Yadiel's profile picture
Yadiel3 years ago

@fastifyjs is also a modern, faster and complete alternative to Express

Ben Holmes's profile picture
Ben Holmes3 years ago

@fastifyjs I had two choices: Name drop Hono, get fastify comments Name drop fastify, get Hono comments They're both great but I picked what I know 😅

StackJo's profile picture
StackJo3 years ago

@hernan_yadiel @fastifyjs Why not name drop both

Ben Holmes's profile picture
Ben Holmes3 years ago

@itsmebunk @hernan_yadiel @fastifyjs I wanted a code example and only have 60 seconds 😡

shabab al ashq's profile picture
shabab al ashq3 years ago

good point, i like fastify more though

Emmanuel LD's profile picture
Emmanuel LD3 years ago

There's 3 options I like : - Hono - H3 - Hattip There's a bunch of new options popping up in the deno and bun ecosystem too !

Kevin Whitley's profile picture
Kevin Whitley3 years ago

If you want even more flexibility (and fewer bytes), there's also the 450 byte itty-router. Also less opinionated, gives you 100% control of the flow, and route code is even shorter. But if hono fits your style (more express-like), highly recommend it!

Fardeem's profile picture
Fardeem3 years ago

This is lovely! One of the benefits of standards is that Request Response is now portable across environments

Rex E.'s profile picture
Rex E.3 years ago

I wrote some logic that lets you use Request and Response within Express for use with @nextauthjs’ new Auth handler. I think it’s great that node libs like Auth.js are converging on these Web API standards. Thanks for the breakdown of the possibilities!

Eddy Vinck's profile picture
Eddy Vinck3 years ago

How’s Typescript support for Hono?

Ben Holmes's profile picture
Ben Holmes3 years ago

Fantastic! It even has type inferencing for params based on the endpoint: get('/users/:id', (c) => c.params // typed as { id: string }

Eddy Vinck's profile picture
Eddy Vinck3 years ago

Very nice 👌

Mohamed Yamani's profile picture
Mohamed Yamani3 years ago

I have great expectations for @fastifyjs at this point :)

Mohammed Gazi's profile picture
Mohammed Gazi3 years ago

Such an amazing explanation one of the best I have seen on this topic ✨️

Yuvaraj's profile picture
Yuvaraj3 years ago

What do u make of NestJs

@brianleroux@indieweb.social 💙's profile picture
@[email protected] 💙3 years ago

Is backend JS runtime portability really possible (like once you get things like AWS involved) or desirable and whyyy

Ben Holmes's profile picture
Ben Holmes3 years ago

Just avoiding vendor lock-in with the tools I choose. Though I'll admit providers like cloudflare have preeeetty nice base APIs

@brianleroux@indieweb.social 💙's profile picture
@[email protected] 💙3 years ago

Idk man. Need to temper that line with some consideration for what happens when a database gets involved

andrew's profile picture
andrew3 years ago

my dude. PLEASE take a deeper dive into tech. hono is Koa. you just described Koa. I get that new stuff is exciting and you want to keep growing the base, but it's frustrating to see the new generation ignoring (or remaining ignorant to) prior art.

qudo's profile picture
qudo3 years ago

Except no routing, middleware, auto body parsing and all the things people reach for a framework for lol

Carlos 👨🏻‍💻's profile picture
Carlos 👨🏻‍💻3 years ago

I love @honojs 😍

CT's profile picture
CT3 years ago

… I don’t hate this take

Enrique Mejías's profile picture
Enrique Mejías3 years ago

Love the torches seller 🤣

Drew Hamlett's profile picture
Drew Hamlett3 years ago

Express was just a Sinatra clone; that was the standard. In fact, everything in early Node was just copying everything from Ruby line for line. Either way, I get what you're saying.

Nicholas Griffin's profile picture
Nicholas Griffin3 years ago

Who’s using express on the client? I wanna know how the fuck you managed that 😆

Pastilhas's profile picture
Pastilhas3 years ago

that doesn't make a lick of sense

ᴍᴀɴᴢᴏᴏʀ ᴡᴀɴɪ's profile picture
ᴍᴀɴᴢᴏᴏʀ ᴡᴀɴɪ3 years ago

FYI, URLSearchParams is not designed for that. It's actually designed for <form />

Related Videos

Let me explain who the Fates are 🫵
1:03

Sensitive content

Let me explain who the Fates are 🫵

Clotho 🧵Mythos

34,833 views • 2 years ago