Syntax - Tasty Web Development Treats
837: You Should Drop Express and Try Hono

837: You Should Drop Express and Try Hono

Syntax - Tasty Web Development Treats

29:32

About this episode

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? Watch CJ’s Video Here

03:21 Syntax Meetup San Francisco.
04:02 Why I like Hono, and why you should try it.
04:08 Familiar route creation. Connect: an extensible HTTP server framework for node.

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. hono-open-api-starter.
zod-openapi.

15:46 Defining base type. Pinojs

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
Scott: X Instagram Tiktok LinkedIn Threads
Randy: X Instagram YouTube Threads

More from Syntax - Tasty Web Development Treats

Scott and Wes get into closing the gap between your taste and your skills, with tips on design inspiration, snappier animations and easing. They also share an entry-level setup for recording video les…

1h 6m

Scott and CJ dig into Exact, Expo’s new Rust-based runtime that takes one codebase to web, iOS, macOS and Linux with no React Native involved, plus Bombadil’s property-based testing for web UIs. They…

1h 11m

Scott and Wes sit down with Michael Arnaldi to dig into Effect v4 and why guardrails matter now that AI agents are writing so much of our code. They discuss going zero dependencies, a 5x smaller bundl…

50m

Scott and Wes sit down with GitHub’s Kyle Daigle to ask what the hell is going on with GitHub: the downtime, the agent traffic spike, and the infrastructure overhaul decoupling storage from compute. P…

31m

Wes, Scott, and CJ are back with two weeks of news: Reddit is forcing everyone to log in, r/opensource bans anything AI, and CSS-Tricks is independent again. Plus Anomaly's Hex dictation app, Mitchell…

1h 35m