Deno, React, Next.js
I like love the simplicity and security of Deno.
However, if I need to build a React and Next.js app due to a customer requirement, are there any benefits to using Deno?
(I am totally new to Deno)
5 Replies
React/Nextjs are heavily optimized for Node.Js ecosystem so theres really not much benefits of using Deno with it.
You can try, but you’ll just end up using
npm:
specifiers all around your app. Thats also the reason why Deno has Fresh as its own web framework
—-
If youre planning to write scripts or Backend APIs using TypeScript, then, Deno as your runtime (instead of Node.js) will surely helpsThanks @imPaul !
My main reason for not pushing Fresh are that it seems like it has been abandoned by the Deno team (the newest article is from 2023), and it seems like shadcn doesn't work with it.
(remember that I don't know what I'm talking about)
Im pretty sure Fresh is still actively being maintained as it has its own full time maintainer
About using shadcn with Fresh, yeah seems like theres not really an easy way to make it work
Deno Blog
Fresh 1.2 – welcoming a full-time maintainer, sharing state between...
Learn what new features the 1.2 release brings and about the future of Fresh.
Thanks 🎉
Just to add to this, Fresh 2.0 is actively in dev and has had a few iterations of their alpha branch available: https://jsr.io/@fresh/core/versions
The release has been delayed because the Deno team is focusing on some upgrades to the Deno Deploy product that will pave the way for a few additional features they are aiming to include in Fresh 2.0