Create React App vs. NextJS vs. Vite

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024

ความคิดเห็น • 146

  • @grogu4344
    @grogu4344 ปีที่แล้ว +174

    Create React App is dead, bro.

    • @saeedballanc
      @saeedballanc ปีที่แล้ว +3

      What instead??

    • @gale993
      @gale993 ปีที่แล้ว

      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.

    • @PedroTechnologies
      @PedroTechnologies  ปีที่แล้ว +39

      I believe that it still is alive, just not recommended for most use cases

    • @kumop1718
      @kumop1718 ปีที่แล้ว +14

      @@saeedballanc Vite

    • @shakilahmed6870
      @shakilahmed6870 ปีที่แล้ว +35

      First learn the difference between 'dead' and 'not recommended'

  • @marfab100
    @marfab100 ปีที่แล้ว +19

    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

    • @PedroTechnologies
      @PedroTechnologies  ปีที่แล้ว +2

      Yeyeye i forgot hahahaha I recorded all the instalations in a sequence after the vid so I was just doing it quickly. Thank you for poiting it out!!

    • @partoflife1
      @partoflife1 6 หลายเดือนก่อน

      That exactly I'd to say :)

  • @mahbleh404
    @mahbleh404 ปีที่แล้ว +10

    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.

  • @preyah2857
    @preyah2857 ปีที่แล้ว +8

    We need a video about SSR in Vite

  • @bulaloitech
    @bulaloitech ปีที่แล้ว +5

    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

  • @yancavalcante27
    @yancavalcante27 6 หลายเดือนก่อน +2

    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

    • @PedroTechnologies
      @PedroTechnologies  6 หลายเดือนก่อน +2

      Lol I am 100% Brazilian! I lived in Salvador, Bahia for 18 years and then came to Canada for university :)

    • @yancavalcante27
      @yancavalcante27 6 หลายเดือนก่อน

      I knew it hahaha! And I’m from Nordeste too ✨
      Another reason to be a follower hehe

  • @KodManJs
    @KodManJs ปีที่แล้ว +4

    What app or extension do you use in your vs code terminal to get that recommendation?

  • @techghost2024
    @techghost2024 ปีที่แล้ว +4

    Please make a video on SEO with Reactjs and Server Side Rendering with Reactjs. I don't want to leave React and learn Next

    • @LiIRobJr
      @LiIRobJr ปีที่แล้ว

      Next is a framework and is build on top of react. You can learn next and still be using react

  • @NZTechArc
    @NZTechArc ปีที่แล้ว +1

    What is server side rendering. Some new age bullshit.
    Someone please talk about MVC.

    • @tutoriais5266
      @tutoriais5266 ปีที่แล้ว

      Go away with your f ing negativity.

  • @Lunolux
    @Lunolux ปีที่แล้ว +8

    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

    • @s0ulweaver
      @s0ulweaver ปีที่แล้ว

      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

    • @Lunolux
      @Lunolux ปีที่แล้ว +6

      @@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

    • @s0ulweaver
      @s0ulweaver ปีที่แล้ว

      @@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.

    • @HSGG_
      @HSGG_ ปีที่แล้ว

      ​@@Lunolux
      20.000 = 20
      20.000 /= 20,000
      Don't believe it? Put it in vs code, it never lies.

    • @BlaiSeCSGO
      @BlaiSeCSGO หลายเดือนก่อน

      @@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)

  • @BabatundeAjagbe
    @BabatundeAjagbe 7 หลายเดือนก่อน +1

    Am a beginner using create react am and I want to switch
    Pls should I use vite or next.js

  • @desitoonswala
    @desitoonswala ปีที่แล้ว +2

    Thanx buddy for clearing my doubt i was really confused in these 3 topic ... 🌷

  • @cesarmelendez2577
    @cesarmelendez2577 ปีที่แล้ว +3

    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!

  • @DesignDensity
    @DesignDensity ปีที่แล้ว +8

    Thanks for the video :)
    BTW, Vite is a French word and it reads "veet" 😉
    Cheers

  • @yuvalbra
    @yuvalbra ปีที่แล้ว +2

    Grate video, what kind of extantion you used? specaily the one that you show in the terminal

  • @samarnagar9699
    @samarnagar9699 ปีที่แล้ว +1

    I don't know if this is too much to ask can you make your react guide wi vite I just think cra is uhh well you know

  • @seananih7609
    @seananih7609 ปีที่แล้ว +1

    I was typing to correct your pronunciation then you and you started to explain right b4 I submitted lol

  • @jakewolf079
    @jakewolf079 ปีที่แล้ว +2

    I'm a beginner but I'm loving Vite now

  • @Jeridi
    @Jeridi ปีที่แล้ว +4

    Thanks Pedro, you always amaze us with your new ideas !

  • @warsame2245
    @warsame2245 ปีที่แล้ว +2

    my only issue with vite is that the server crashes when it encounters a problem unlike CRA but everything else, Vite clears it

  • @Pareshbpatel
    @Pareshbpatel ปีที่แล้ว +1

    A great overview of create-react-app, nextJS and vite. Thanks, Pedro
    {2023-05-03}

  • @currojugando6585
    @currojugando6585 ปีที่แล้ว +2

    Great explanation and very clear, how do you have those automated comands on your vscode console?

  • @visheshgupta4990
    @visheshgupta4990 ปีที่แล้ว +1

    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

  • @guilhermesandoval2665
    @guilhermesandoval2665 ปีที่แล้ว +6

    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

    • @PedroTechnologies
      @PedroTechnologies  ปีที่แล้ว +1

      Yesss! But I don't think it is that big of a deal. They are both still options depending on the use case

    • @anricoj1
      @anricoj1 ปีที่แล้ว +17

      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

    • @Sulayman.786
      @Sulayman.786 ปีที่แล้ว

      ​@@anricoj1 thanks, good advice

  • @jtaylor8606
    @jtaylor8606 ปีที่แล้ว +1

    Is it pronounced vIte or veet? The veet pronunciation is how the French word vite is pronounced, and that word translates as 'fast'.

  • @jayasaikiran1761
    @jayasaikiran1761 ปีที่แล้ว +1

    Bro IF possible make a tutorial on next js 13 version how to setup and routing concept in depth…

    • @LouiseTUBE
      @LouiseTUBE 8 วันที่ผ่านมา

      its 14 now, and learn by reading their doc and go step by step, make sure you have app router selected

  • @MateusGomesFreitas
    @MateusGomesFreitas ปีที่แล้ว

    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.

  • @nathansantos4197
    @nathansantos4197 ปีที่แล้ว +1

    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.

    • @marin1419
      @marin1419 5 หลายเดือนก่อน

      what about SEO though?

    • @nathansantos4197
      @nathansantos4197 5 หลายเดือนก่อน

      @@marin1419 the same thing

  • @dimasnytin
    @dimasnytin ปีที่แล้ว +1

    Greatly 🤩🤩🤩

  • @peshutanpavri1599
    @peshutanpavri1599 7 หลายเดือนก่อน

    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 ?

  • @victorvillacis6764
    @victorvillacis6764 8 หลายเดือนก่อน

    It’s Viiiiit and next js uses webpack

  • @WhyNot-fp6cv
    @WhyNot-fp6cv 11 หลายเดือนก่อน

    How about if vs javascript? 🤣

  • @dnjosh10
    @dnjosh10 11 หลายเดือนก่อน

    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

  • @ased4u
    @ased4u ปีที่แล้ว

    why you calling it vite? its obviously called vite.

  • @mlnima
    @mlnima ปีที่แล้ว

    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

  • @H4KV
    @H4KV ปีที่แล้ว

    tu parece brasileiro, sei la, acho assim, mas congratulations for the video!

  • @ipreet6850
    @ipreet6850 ปีที่แล้ว +1

    much needed video

  • @salahaldinedouard5299
    @salahaldinedouard5299 ปีที่แล้ว

    It’s pronounced veet not vite it’s a France word not English

  • @error_man8045
    @error_man8045 ปีที่แล้ว

    Imagine sacrificing SSR,ISR,page based routing for vite

  • @irtazahussain8118
    @irtazahussain8118 ปีที่แล้ว

    Hey @pedro, I hope you are well. I've a request regarding a video. Can you please make a video on TH-cam miniplayer?

  • @kurdishfreeman7568
    @kurdishfreeman7568 ปีที่แล้ว

    Actually you forgot the most performant react framework, it's called Remix.

  • @epachecoc
    @epachecoc ปีที่แล้ว +1

    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

  • @deathdogg0
    @deathdogg0 26 วันที่ผ่านมา

    Vite for life!

  • @Tech-Dev
    @Tech-Dev 5 หลายเดือนก่อน

    Cheer for this

  • @appstuff6565
    @appstuff6565 ปีที่แล้ว +4

    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.

    • @stonelam948
      @stonelam948 ปีที่แล้ว +1

      It's not necessary to start over again when your project is almost ready to launch. IMO.

  • @matthewmurnaghan4473
    @matthewmurnaghan4473 8 หลายเดือนก่อน

    Anyone know the name of the extension for vscode that is suggesting what flags to use and showing them witht the coloured icons?

  • @basilgaudion4723
    @basilgaudion4723 ปีที่แล้ว

    At 9:28, which vsCode extension enables autocompletion or suggestion in the terminal ?

  • @vishnun7769
    @vishnun7769 ปีที่แล้ว +1

    Vite is superb

  • @haroonahmed1077
    @haroonahmed1077 ปีที่แล้ว

    RIP CRA.
    1 like to pay respect

  • @hooooman.
    @hooooman. ปีที่แล้ว

    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?

  • @iUmerFarooq
    @iUmerFarooq ปีที่แล้ว

    Any chances of making Vuejs tutorials?

  • @marcoico7356
    @marcoico7356 ปีที่แล้ว +1

    Your really nice on your opinion 😊 keep up the good work 👍

  • @ubitubee
    @ubitubee ปีที่แล้ว

    Noob here, isn’t SSR more expensive than CSR? Does it matter?

  • @NZTechArc
    @NZTechArc ปีที่แล้ว

    Dude Slow Down. You speak to fast listen to your self back, "React React App" blurrs together into a mumble.

    • @vali69
      @vali69 ปีที่แล้ว

      Nah man, maybe you're just old. I wonder what you'd think about Japanese, since if this is fast, Japanese would sound like Eminem singing rap god.

  • @hamdihawari
    @hamdihawari ปีที่แล้ว

    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 :)

  • @tjw2392
    @tjw2392 11 หลายเดือนก่อน

    CRA eject can be nice. /shrug

  • @howiewang4238
    @howiewang4238 ปีที่แล้ว

    Thank you for the video. Nice job!
    ~~~~

  • @許潤璋
    @許潤璋 ปีที่แล้ว +5

    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.

    • @TechCisne
      @TechCisne ปีที่แล้ว

      Olá amigo! Sabe me dizer com NextJS teria a necessidade de utillizar o vite? Ainda estou nos meus estudos iniciais com o React

  • @vladimirpukhlenko9544
    @vladimirpukhlenko9544 ปีที่แล้ว

    please tell me who knows what kind of extension in vs code that makes hints in the terminal (6:05)

  • @NoOne000_Official
    @NoOne000_Official ปีที่แล้ว

    Hey can you make a tutorial making a todo app with react and electron with offline storage.
    And your videos are amazing.

  • @jvalbuquerque5601
    @jvalbuquerque5601 ปีที่แล้ว

    Tu é brasileiro por acaso? ksksksks

  • @thevasupodcast4561
    @thevasupodcast4561 ปีที่แล้ว

    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

  • @shravyashetty3115
    @shravyashetty3115 ปีที่แล้ว

    How do I connect mongodb with react vite?

  • @maecana3695
    @maecana3695 ปีที่แล้ว

    Vite in french is 'FAST'

  • @shakilahmed6870
    @shakilahmed6870 ปีที่แล้ว

    I high time for you to come up with next js 13 tutorial series

  • @User-w8t4t
    @User-w8t4t ปีที่แล้ว

    Next js first load js size is a problem.

  • @sidds09
    @sidds09 ปีที่แล้ว

    pls do a bigger react project. learning a lot from your videos.

  • @siosaiafonua9286
    @siosaiafonua9286 9 หลายเดือนก่อน

    which one is better, nextjs or vite?

  • @GideonKNgetich
    @GideonKNgetich ปีที่แล้ว

    What's that theme you're using??

  • @pedrohenriqueleite2146
    @pedrohenriqueleite2146 ปีที่แล้ว

    Thanks bro, you help me a lot

  • @aphmaple2348
    @aphmaple2348 10 หลายเดือนก่อน

    great video, thanks

  • @aodesigns-w6r
    @aodesigns-w6r ปีที่แล้ว

    What are you using for the terminal suggestion dropdown?

  • @art-sider
    @art-sider ปีที่แล้ว

    thank you so much !

  • @PanlasangMotour
    @PanlasangMotour ปีที่แล้ว

    Vite is interesting hmm is this new ? can you make a sample tut using vite just a simple app ❤

  • @johanesalberto6136
    @johanesalberto6136 8 หลายเดือนก่อน

    thanks brother

  • @lpa9189
    @lpa9189 ปีที่แล้ว

    What VSCode extension is used to get suggestions in terminal at 6:07?

  • @vishalsolanki9234
    @vishalsolanki9234 ปีที่แล้ว

    wbu turbopack ?

  • @samuelkamau1550
    @samuelkamau1550 ปีที่แล้ว

    Great video, How about Remix ?

  • @GuilhermeAlmeida12
    @GuilhermeAlmeida12 ปีที่แล้ว

    Boa! Você tem pretensão de fazer videos em Português? Hehe

    • @AndreSpecht
      @AndreSpecht ปีที่แล้ว +1

      Ele atinge muito mais usuários com inglês. Já passou da hora de brasileiro aprender inglês

  • @tubebility
    @tubebility ปีที่แล้ว

    vite ~ bite
    veet ~ feet
    🙄

  • @qgameua
    @qgameua ปีที่แล้ว

    what's terminal extension u use?

  • @ritankarbhattacharjee7661
    @ritankarbhattacharjee7661 ปีที่แล้ว

    please do a video on a detail explanation about webpacks and babel.

  • @dhruvkumar-br2lp
    @dhruvkumar-br2lp 9 หลายเดือนก่อน

    Thanks

  • @RealMusicLives33
    @RealMusicLives33 ปีที่แล้ว

    ""veet""

  • @thevasupodcast4561
    @thevasupodcast4561 ปีที่แล้ว

    Can you make an updated tutorial on next js as it has changed a lot.

  • @fatimaortega1000
    @fatimaortega1000 ปีที่แล้ว

    You uploaded, you literally make my day and help me so much!

  • @daniellimae
    @daniellimae ปีที่แล้ว

    Boa d+ ! tks for the good content

  • @vonghesjonovan
    @vonghesjonovan ปีที่แล้ว

    thank you

  • @mydaily21
    @mydaily21 ปีที่แล้ว

    Finally!! Thanks mate :)

  • @bojanbokisha
    @bojanbokisha ปีที่แล้ว

    Vite the best

  • @monat_son
    @monat_son ปีที่แล้ว

    Good one Pedro, thanks.

  • @Kretzzz
    @Kretzzz ปีที่แล้ว

    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 😫.

    • @jeklo3713
      @jeklo3713 ปีที่แล้ว

      Same I'm starting to make a project but I'm confused what should I use should I use vite or cra?

    • @anamatei2134
      @anamatei2134 ปีที่แล้ว +1

      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

    • @GemboyTV
      @GemboyTV ปีที่แล้ว

      ​@@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?

    • @LouiseTUBE
      @LouiseTUBE 8 วันที่ผ่านมา

      @@GemboyTV next.js

  • @preyah2857
    @preyah2857 ปีที่แล้ว

    Great :)

  • @ROHAN4953
    @ROHAN4953 ปีที่แล้ว

    Can you make a tutorial for using nextjs as frontend with a custom backend server? Please

    • @cryMoreLoL
      @cryMoreLoL ปีที่แล้ว

      Why would anyone do that? 😂

    • @ROHAN4953
      @ROHAN4953 ปีที่แล้ว

      @@cryMoreLoL so beginners like you can learn something new and not stick to basics

    • @cryMoreLoL
      @cryMoreLoL ปีที่แล้ว

      @@ROHAN4953 If you really knew what you were doing you wouldn’t be asking on youtube. Project much? 🤡

  • @NoumanKhan-ck7vx
    @NoumanKhan-ck7vx ปีที่แล้ว

    how to create next js with vite

    • @cryMoreLoL
      @cryMoreLoL ปีที่แล้ว

      You can’t! Vite is a build tool! Next js is a full stack framework that currently uses TurboPack.

  • @muhammadxojarustamxojayev7678
    @muhammadxojarustamxojayev7678 ปีที่แล้ว +2

    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.

    • @LuisReyes-zs4uk
      @LuisReyes-zs4uk ปีที่แล้ว +1

      I had that routing problem as well! Super frustrating. How did you go about fixing it?

    • @berat2690
      @berat2690 ปีที่แล้ว

      what's the routing problem can you explain

    • @TheBerkayBUHLAR
      @TheBerkayBUHLAR ปีที่แล้ว

      @@LuisReyes-zs4uk If it is on vercel there is a rule that you have to define