---
title: "Comment by wkrueger on \"Better Backend DX: Fastify + ESBuild = ⚡️\" | Hashnode"
description: "Nest.js also has a recipe for using HMR with webpack. IMHO using a new-generation bundler will make very little difference, since the gains come from using HMR"
url: "https://hashnode.com/posts/better-backend-dx-fastify-esbuild/62792260076291997b7651b4/comment/62a4ce6b165482d2b3eec0d3"
---

[Discussion](https://hashnode.com/posts/better-backend-dx-fastify-esbuild/62792260076291997b7651b4)

Comment [Better Backend DX: Fastify + ESBuild = ⚡️](https://hashnode.com/posts/better-backend-dx-fastify-esbuild/62792260076291997b7651b4)

[wkrueger](https://hashnode.com/@wkrueger)

[Jun 11, 2022](https://hashnode.com/posts/better-backend-dx-fastify-esbuild/62792260076291997b7651b4/comment/62a4ce6b165482d2b3eec0d3)

Nest.js also has a recipe for using HMR with webpack.

IMHO using a new-generation bundler will make very little difference, since the gains come from using HMR or not. All bundlers still have to use typescript.

[David Peng](https://hashnode.com/@davipon)

[Jun 12, 2022](https://hashnode.com/posts/better-backend-dx-fastify-esbuild/62792260076291997b7651b4/comment/62a4ce6b165482d2b3eec0d3#reply-62a54cab165482d2b3eecae9)

If using pure JavaScript to build a node app, yes, what we can gain from the modern bundler is very little.

But if you're using TypeScript, a transpiling/ building step is unavoidable. That's where the modern bundlers shine.

What `nodemon` + `esbuild` (or `swc`) does is transpiling your entire codebase superfast and start your server whenever a code change.

HMR could help accelerate the feedback loop if we have a considerable backend codebase, even if we've replaced `babel`/ `tsc` with `esbuild`/ `swc`.
