Are you aware that most companies work with old versions of stuff or even deprecated software? cra being dropped by React doesn't mean it no longer works, or that companies won't use it. Calm your tits.
heard about vite for the first time couple weeks ago and was a bit confused. fast forward and my favorite tech youtuber is making a video on it. let's go!
I tried Nextjs. I like how when you 'npm run build' it transform your .js files into html which is good for SEO and why I'm thinking of changing into it from CRA that only has SPA. Still confusing tho
I was learning react and almost build a project too to launch. But CRA went dead so now I am in the dilemma of should i continue or learn something else. I think this video came at the right time. Thanks.
Your vsc wasn't stupid with the red lines, vite doesn't install the dependencies on it's own you actually have to 'npm install' after 'creat vite'. Nevertheless cool video
I thank you for this video. I’ve done two projects using CRA. Now I’m moving to NextJS because it is the best React framework for building full-stack web applications.
I could mention that cra and vite (not entirely) are no longer being recommended in the official documentation of react, where they prioritize using a framework to create our projects, but still great video
I really dislike how they kind of pushed Vite to the bottom of the page and didn't really highlight it like all the frameworks. I would typically send a beginner to the React docs to learn react. Them suggesting to use Next, Remix or Gatsby off the bat seems kind of poor IMO. People should learn React first, not React + a framework. The first suggestion should really be Vite
Really Reallt Great video you solved my doubt It is all very confusioning what is create react app , next js or vite . Now I understand these all are the tools to write react but with there pros and cons . Next Js. is definitely I want to learn I learn react through create react app . Now the things is cleared . Thank You so much ! Subscribed
when i use create react app, there was like 20.000 dependancy installed (node_modules), vite js has less than 3.000 packages, that was a big difference for me, but i hope they decrease for CRA past the year
Why the f is your number of dependency packages a decimal number. If you meant to say 20000 and 3000, then use comma ffs. You can say 20000 or 20,000 or 20k even but YOU CAN'T use 20.000 because that just means 20
@@s0ulweaver what are you talking about... dot is just a separetor to make it easy to read, and in some country, the dot is the equivalent to the comma there are many way to write the great number to make it easy to read but the caractere that are use depend on the country, i dont even know why we waste time talking about that, anyone who read the first comment would know that we dont talk about 3 and 20 but 3000 and 20000
@@Lunolux oh. But if you use dot as a separator in those countries, then how do you write this number: 1,562,897.4603 with dot as a separator instead of comma? It would be 1.562.897.4603 now you don't know where the decimal point was because of using dot as a separator. And so when you said 20.000 it seemed like the number 20.
@@s0ulweaver here we use like 20k = 20.000,00 or 20000 or 20000,00 if we use 1 million = 1.000.000 or 1.000.000,00 the comma represents where is the decimal point 1,394 (1 dollar and 394 pounds)
Great video, Pedro! Hey, I'm curious about something... Are you brazilian or even son of brazilian parents? It's kind of weird that I understand almost 100% of what you said cause your accent sounds like mine hahah
I'm a beginner and using create-react-app,and I'm planning to switch to vite,is that switching hard? I mean the syntax,other blah blah is different in vite than create-react-app?how much thing's i need to learn for it? what are the similarities between these two in terms of code , function,or other factors?
I am thinking to switch from nextjs to vite since they have stupid updates with no docs or example in whole internet. if any one knows can we have easy setup of i18n in vite react along server components please let me know
I'm already halfway through on my project. Then seeing all the videos about create-react-app is not recommended by lots of devs. I'm thinking of redoing the front-end of my project now 😫.
Don’t . Just finish this project and learn as much as you can and then start another project and learn NextJs. You need to know the difference between these two so you can understand why create-react-app is not recommended anymore
@@anamatei2134 hello. So you recommend nxt js than vite? I'm just starting to learn react, some suggest not to use CRA, instead vite, but now there is also next js?
Could you imagine that I spent over an hour just to remove one package from my application created using CRA. That thing called create react app is slower than snail
Vite is good but it has some issues which is not solved yet. 1. Routing problem. I don't why but when vite project is deployed online and when you want to go other pages of your application, it shows error. You can solve that problem but it takes time. 2. Second is testing, Vite doesn't support testing out of the box yet like cra. And you can configure that as well but this takes time too.
While I admire all those developers creating these videos and posting here in youtube for free, I'd advice developers beginners to ALWAYS do a research and form your own opinion around a subject. You should be able to read/watch any content on the internet and be able to differentiate fact from opinion. Saying that Server side rendering will be better because of SEO improvements is correct. But there is some information missing regarding SSR. - Not all applications need SEO, so you don't really need SSR in every system you develop. - It's slower to render. So, you lose a bit of performance. - It adds more complexity specially if the application is very dynamic. So, you lose a bit of performance also on the development side. - It will require more resource from the server. Not too much, but it will.
Oh my goodness !!! You have grow so much !! i saw your first video when your voice was broken. like 2 years ago but look at you how much you've grown :) i was really inspired by your VSCode editor customization and also how you organized your projects. Thank you for being consistent with your channel.
I heard about Vite a couple of weeks ago in my job but I never worked with that before. I gonna create some sample projects here because it sounds good. BTW thank you for the amazing content, you rock
I have a Saas in production created with CRA and I don't have any plans to update to Nextjs. I don't have any problem with CRA and it's A LOT MORE easy to use.
Great video, thank you so much, I would love your opinion on this, Isn’t it true that Next.js can be used as a full backend server side application with security, database connectivity, rest clients etc ? Because I’m using Spring Java / kotlin for a lot of backend apis and I was thinking weather it’s better to use next or vite ? If I have a spring backend, is it necessary to have next.js ?
can I upgrade from react-app to react-vita or I should create new vita-react and past every component from the last react-app to vita-react-app? Thank You :)
Bro, I love your content. You're my inspiration. I'm preparing for internships, can you please make some guidance videos on it ? Also where are you joining full time? My guess - twitch