
The Sunsetting of Create React App
On February 14, 2025, React officially deprecated Create React App (CRA), marking the end of an era f...
For further actions, you may consider blocking this person and/or reporting abuse
React + vite or react + next which one is more future secure?
Hello, Amir! I think it depends on your project’s needs.
React
+Vite
is awesome for fast development. It's the best choice for SPAs & smaller projects IMO. On the other hand,React
+Next
is best for scalability because of it's server-side rendering(SRR) and static generation(SSG) and built-in routing. I don't think you can go wrong whichever one you choose. Thanks for the comment 🚀Webassembly
For sure!
For big projects nextjs, for quick testing or static pages vite
Agree @programordie
Definitely next js!!
vite is amazing for speed & simplicity, but Next.js is more future-proof. With React shifting towards Server Components & SSR, Next.js is leading the way
It's sad that CRA is deprecated, but I'm excited to try Next.js and Vite for better one
Yes, it's sad. To be honest, I haven't used it in a long time. I remember using it when I started learning React.js. I always use React + Vite + Typescript. However, there is some nostalgia because the first React app I built was generated using CRA :(
I'm the same way. Using Next.js with TypeScript now, and React + TypeScript + Vite if Next.js isn't needed, but CRA still gives me nostalgia.
Just deprecate react already. Vue is the better
I like Vue, but what are the key things because you think it's better?
Omg 100%
The slowest websites are all React.
I don't disagree. However, Blazor WebAssembly would like to talk to you ;P
I mean web assembly sure. But while I was waiting for blazor to download I moved over to a svelte run competitor.
Now where does this leave react native?
Hello! I have good news for you 🙂
React Native remains unaffected by CRA's deprecaton because it has its own ecosystem.
Which is metro bundler
Yep
Metro with react 19?
Im coming from NextJS (used at work for an e-commerce platform), and have to say I'm really liking the simplicity of react-router v7 over the vastly many concepts you have to know in nextjs.
Like for example?
I like that:
React router provides SSR with actions
NextJS has something similar to react-router's actions with
getServerSideProps
andgetStaticProps
, but I never managed to get the caching mechanism to work properlyYou might want to revisit Next.js sometime. I don't know whether it'll be exactly to your taste. But Next.js' old pages directory API (the one with getServerSideProps) and the new app directory API are so different they might as well be completely different frameworks.
Caching is still changing so you might want to wait, but it's already very different from what you remember. You are limited to file based routing, but having layouts changes things a lot. And stuff like getServerSideProps is completely replaced with React's new RSC components and Server Actions.
I haven’t used Remix at work yet due to company needs but this should give some insight:
remix.run/blog/remix-vs-next
Should i give up learning react ? 🤔
No, just learn it the right way. I suggest React + Vite + TypeScript + Tailwind + Sass
Ahh i see, thank you so much
Disagree on learning tailwind and sass. Learn css, which is a transferable skill for the web and then have a look at any styling solution for react except tailwind 😛 I recommend pandacss.
CSS must be known. That's the default. That's why I didn't mention it
You don't need to know any CSS for tailwind, which is already happening... People don't know how to do the simplest things with CSS, all they know is limited tailwind utility class names.
I would change it to:
You don't need to know advanced CSS to use Tailwind
Tanstack start is something to keep your eye on.
Yes! I used it to implement a frontend for a big bank in Serbia and it's awesome! The only negative issues I had were the integration tests. They are not yet supported.
But be careful! It can use over 300KB of application bundle size.
@designbyonyx
Thanks for sharing. Am currently using react + vite, it performance is outstanding and awesome.
You're welcome! Yes, it's performance is awesome you will see.
Vue.js is the future, thanks to react!
Hahaha, RIP React developers. Just kidding, of course
nice
You may as well add Vue to Vite and ditch React altogether :-)
Yes, I like Vue.js too 🙂
What about rsbuild?
If you prefer more flexibility, RSBuild is a good choice. If you prefer stability and larger ecosystem, go for Vite.
It was only a matter of time. Use Next, Remix or Vite.
Don't waste your time with Vue.
React devs will be mad
Not really. I've worked with FAANG on several projects so I know exactly what the industry demands are. Vue is good for small apps, but anything serious and at large-scale then React is your best friend.
🚀 Just finished my very first frontend challenge for Dev Community!
dev.to/web_dev-usman/discover-your...
Give your feedback there, and support me.
Sure! Have you tried scanning it using Dev.to Rater?
Just scanned, here are the results,
SCORE
8.04
Score got cut off because of license for the code, I have copied and pasted it from CodePen.
Nice! If you've issued a bug or want some additional feature, feel free to open an issue in our repository.
If only Nextjs would embrace vite as a bundler instead of webpack, the choices would be so simple.