7 ms·
Love bun, thank you so much Mr. Sumner. What is the priority of app router integration for NextJS?
by CodeGroyper 3y ago
Love bun, thank you so much Mr. Sumner.
What is the priority of app router integration for NextJS?
- johnfn 3y ago> What is the priority of app router integration for NextJS? I'm not Jarred, but what do you mean by this? I'm using bun + app router + NextJS and everything seems to work just fine.
- atmin 3y agoNot OP, but interested: can you deploy on a vps having only bun and not node?
- maxboone 3y agoYes
- reducesuffering 3y agoI don't think you're talking about what GP comment is. For clarification, Bun can act as a package manager like npm (probably the case of "bun + app router + NextJS" comment), and it can act as a replacement to a node runtime a la Express on a VPS (I'm assuming this is what you mean by "yes"). But Bun currently does not implement enough of the Node API's to use Bun as the runtime for a Next.js app. From Bun themselves: "The Next.js App Router currently relies on Node.js APIs that Bun does not yet implement. The guide below uses Bun to initialize a project and install dependencies, but it uses Node.js to run the dev server." https://bun.sh/guides/ecosystem/nextjs https://bun.sh/guides/ecosystem/nextjs
- deleted 3y ago[deleted]
- CodeGroyper 3y agoOn https://bun.sh/guides/nextjs https://bun.sh/guides/nextjs it says that bun currently does not implement the API to run the dev server.
- Jarred 3y agoAfter Windows support is further along, but not that long from now