October 21st, 2024 × #honojs#express#apis#nodejs
You Should Drop Express and Try Hono
CJ talks about Hono, a modern JavaScript framework for building web APIs, showing why you should use it over Express. He covers Hono's familiar Express-like API, wide platform support, built-in helpers, JSX support, routing, validation, RPC client, testing, and more.
CJ joins Scott and Wes to dive into why he's all-in on Hono, a fast and lightweight web framework for every JavaScript runtime. From familiar route creation to type-safe middleware, find out how Hono keeps things simple, powerful, and ready to use inside Next.js.
Show Notes
- 00:00 Welcome to Syntax!
 - 00:46 Brought to you by Sentry.io.
 - 01:11 What is Hono?
 - 03:21 Syntax Meetup San Francisco.
 - 04:02 Why I like Hono, and why you should try it.
 - 04:08 Familiar route creation.
 - 05:45 Supports every JS Runtime.
 - 07:00 How a service worker works.
 - 08:48 Helpers.
 - 09:16 Middleware.
 - 10:40 Sentry middleware.
 - 10:55 JSX support.
 - 13:21 Organizing route handlers while keeping Types.
 - 14:24 Type safety.
 - 15:46 Defining base type.
 - 17:36 Validation.
 - 18:52 Hono RPC client.
 - 22:09 Hono inside of Next.js.
 - 23:30 Testing.
 - 25:22 The community.
 - 27:34 Type support.
 
Hit us up on Socials!
Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads