I am trying to learn react, but the new react is now recommending to use next.js

Is watching and learning react that teaches the old way "create-react-app" now irrelevant? i mean the new docs now recommends to use next.js. Im currently watching a web developer course 2023 at udemy but the way it teaches the react is using the npx create-react-app. I am now worried that i might be unable to use what im going to learn, or am i just worrying too much?
5 Replies
Joao
Joao14mo ago
You're worrying too much. Yes, create-react-app is or will be deprecated soon as there are better ways to start a new project but that doesn't mean that what you will learn is not useful. Next.js uses React. You can worry about the tools used to manage a project later as those are relatively easy to pick up later. There are relatively short videos on YT that can teach you the basics of Next.js later if you really want or need to use that to bootstrap a project. But otherwise focus on learning React first, worry about these things later.
Dev_zxc
Dev_zxc14mo ago
oh ok, im feel relief now, thanks
vince
vince14mo ago
Look into vite instead of cra
WebMechanic
WebMechanic14mo ago
CRA is known to be slow, so like many others they eventually moved to Vite which already does a great job kick starting a new React app (or Svelte, Vue, Vanilla) and it's under constant development with a large ecosystem incl. all the Rollup stuff. Keep going with that Udemy course but then check out some free ones that show off the Vite part so you at least "know what's itabout". React pretty much remains the same.
Dev_zxc
Dev_zxc14mo ago
ok i'll just finish the course that has CRA then will look into the things you guys suggested before i learn the backend side Thanks guys