My issue with new React docs

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
    All the learning resources such as code files, documentations, articles and community discussions are available on our website:
    chaicode.com/
    You can find our discord link, github link etc on the above website.
    Twitter/X link: x.com/hiteshdo...
    Discord link: hitesh.ai/discord
    Learn React with 10 projects: • Let's learn react from...
    Learn Docker: • A practical guide on D...
    Learn Kubernetes: • Complete Kubernetes Co...
    How does a browser works: • How does a browser wor...
    How nodejs works: • How node JS works | En...
    Learn Redux-toolkit: • Learn Redux Toolkit in...
    Learn NextJS: • Nextjs Full stack course
    Learn Typescript: • Why to learn Typescript
    Learn Javascript: • Welcome to new JavaScr...
    Learn React Native: • React Native Mastery: ...
    Learn Zustand: • React state management...
    Learn Golang: • How to get started wit...

Комментарии • 91

  • @justttn
    @justttn Год назад +11

    Totally agree, nice docs but Vite and Parcel should get more room as they are the best way to learn React/JSX after CodeSandbox.

  • @imamansoni
    @imamansoni Год назад +9

    Deploying Next app without using vercel is so so tough, you need to know fairly good amount of clouds things to deploy next app on AWS.

  • @sanjay50012
    @sanjay50012 Год назад +4

    React's shift towards server components can be the reason for their drive towards the use of meta frameworks; however, I completely agree with your point about using React without frameworks for simple projects.

  • @krzysztofkrawczynski9404
    @krzysztofkrawczynski9404 Год назад +1

    Thank you sir, totally agree.

  • @cnerdmahadi
    @cnerdmahadi Год назад +1

    I might not at all agree with cra but 200% agree with the vite part. Would have been big time saving.

  • @scitechplusexplorer2484
    @scitechplusexplorer2484 Год назад +1

    Hi Hitesh Sir, I have a difference of opinion. Shifting to framework is much nice step in my point of view, because one can learn everything in a easy manner.
    Secondly, React has to compete with Angular too, so that maybe one of the reason too.
    Another one I would say that, for example, we can make whole web application and REST services using Servlets in Java, but going to Spring Boot seams pretty smart choice. So, same way learning pure REACT don't seems good choice, rather, we should learn framework which is cool and production-ready.
    Just a difference of opinion, rest I somewhat agree with you. Nice video!!!!!

    • @neel6
      @neel6 Год назад

      he agreed upon that, just that vite isnt shown as one of the options.

  • @shaileshbankar9189
    @shaileshbankar9189 Год назад +1

    So, is it the right time to re-welcome Angular ?🙃

  • @_parassolanki
    @_parassolanki Год назад +1

    I think reason behind would be there main focus now is RSC and RSC pretty much solves most of the problems that we have with the plain vite/parcel template.

  • @SandipRathod185
    @SandipRathod185 Год назад +2

    Sir what should I do as i just started to learn React. from #codewithharry
    Should I continue learn React or directly move to Next JS ?

  • @poorprogrammers
    @poorprogrammers Год назад

    Exactly you're right ❤

  • @sjsouvik
    @sjsouvik Год назад

    I totally agree with your points. Thanks for sharing this, I spent quite some time to go through the beta docs, I feel this is one of the best docs & resources to learn react but never checked the installation steps.
    We already have separate docs for nextjs, mentioning steps to start a nextjs app in react docs without any steps to start a simple react app doesn’t really make sense. If anyone is interested to learn next or build next app, they can anyway refer to the next's official docs.
    It's sad to see that react is moving towards next, advocating for them and some of the members from react team has already joined vercel.

  • @easilyCoded
    @easilyCoded Год назад

    Confused with the installation part as well, and that’s exactly what brought me here.
    Not impressed with the docs at all.

  • @krishnagopal9924
    @krishnagopal9924 Год назад

    exactly that blow my mind when i saw documentation for installation

  • @ziaulhaqp5769
    @ziaulhaqp5769 Год назад +4

    Totally agreed with your point. Even Big Companies built projects with just core React. Not used NextJs etc.

    • @HiteshCodeLab
      @HiteshCodeLab  Год назад +3

      Absolutely

    • @SandipRathod185
      @SandipRathod185 Год назад +1

      @@HiteshCodeLab Sir So what should I do I just started to learn React. from #codewithharry as a beginner
      Should I continue learn React or directly move to Next JS ? please reply

    • @sarcasticcat9876
      @sarcasticcat9876 Год назад

      @@SandipRathod185 that course is old 1 or 1.5 years there is lots of things in that course which is now changed so you should consider more recent ourses

  • @JamesHalpert8555
    @JamesHalpert8555 Год назад +1

    point made.

  • @sagardas4218
    @sagardas4218 Год назад +1

    Hello sir
    So what should I do I just started to learn React.
    Should I continue learn React or directly move to Next JS ?

  • @VenkatGudavalli
    @VenkatGudavalli Год назад +2

    All it takes is this line
    "npm create vite@latest"

    • @HiteshCodeLab
      @HiteshCodeLab  Год назад +3

      Totally. Makes beginners getting started life easy

  • @MrBox4soumendu
    @MrBox4soumendu Год назад

    Good observation. The test of organic React being diluted...

  • @RahulAhire
    @RahulAhire Год назад

    I agree with you but its still 1000x better than AWS. They launched the v3 JS sdk in Dec 2020 and still the docs isn't completed.

  • @ipreet6850
    @ipreet6850 Год назад

    now they are clearly telling us that dont use react without frame works.its going to be challenging for beginners in future

  • @kingsleyonyinanya461
    @kingsleyonyinanya461 Год назад

    Honestly, I am just starting off with react and still struggling to understand the basic of creating a simple web app with react. Last two days I was just trying to create a simple web app and behold on new website I started seeing frameworks stuffs , I got freaked out and the whole stuff is not beginner friendly...

  • @bilalch898
    @bilalch898 Год назад +1

    You are no superior than the React Core team. So chill and relax. They know what they are putting into the docs very well. If someone has a problem, it's his problem, not that the docs are written bad.

  • @arindampal6796
    @arindampal6796 Год назад

    React has shifted from being a client side framework to a server side framework with the introduction of suspense..., which cannot be done without the use of meta framework, ie a simple vite react cannot do SSR. This whole thing requires a new approach of thinking which the beta (now new official) docs want you to think about right from the start, which cannot be done if you start with a simple vite react template.
    And every one would agree what you start your project with generally sticks for a long time.
    And CRA should never be added to the docs cause many beginners (actual beginners) still use CRA which leads them to move backwards with trend of using slower bundler instead of better alternatives.

  • @Sarvesh_Coder
    @Sarvesh_Coder Год назад

    Great Catch Sir, and yeah everybody who is starting react will face this problems !

  • @dazzlerkumar
    @dazzlerkumar Год назад

    Forcing us to use more opiniated frameworks.

  • @codenoobdev
    @codenoobdev Год назад

    totally agree sir

  • @salimalsazu2962
    @salimalsazu2962 Год назад

    How will we deny your opinion 🙄?

  • @martinabeita8852
    @martinabeita8852 Год назад

    best way to create react app using vite its simple easy and they should mention something about vite on there , and using of a framework for a simple application is kind of overengineering i would say

  • @aayushi_8626
    @aayushi_8626 Год назад

    started react few days back and faced the same prblm. Apart from installation rest is fine but next and all in installation is confusing for a beginner. They should have given at least something about core react too.

  • @shehza-d
    @shehza-d 11 месяцев назад

    Agreed 👍🏻 i thought the same

  • @neontuts5637
    @neontuts5637 Год назад

    Yes, I think the reason is related to SEO.

  • @crazyshala4571
    @crazyshala4571 Год назад +1

    First one please start your devops course agian I’m eagerly waiting for join it please

  • @abhayprince
    @abhayprince Год назад

    Totally agreed bro

  • @abhaysingh.632
    @abhaysingh.632 Год назад

    I learned react with class based components and it cam in handy when learning Angular as both of them were nearly same concept. And now I am obsessed with Class based components because they exactly tell which function is responsible for what and there are less surprises in class based components it also helps me to keep my code clean, I don't know why people don't use Class Based Components that much...
    (I was not trying to make the point that we cannot achieve same thing in functional components, but in class based components it's alot easier and fun)

  • @sahas01
    @sahas01 Год назад

    Today i needed to check react docs, was surprised to not see the usual installation commands, thought it was a problem, until I found that several others also have the same issue

  • @andreyyastrebtsov4367
    @andreyyastrebtsov4367 Год назад +2

    I completely disagree. Last year my company had to choose the frontend stack, either React or Angular. And we chose React, because it was 'simpler'. But then we realized that we need state management, routing, forms, animation library, styling solution. So basically we had to invent our own framework.
    So react proposed this misconception that it is very easy to pick up, but if you need full site made with react, well basically you need some sort of framework. If we take that to account, react is basically same as Angular.
    So this section in docs is VERY HELPFUL. We lost two clients, because we had to rewrite our two apps from CRA to Next, because later client wanted to add SSR, and CRA does not support that at all.
    Now we are switching to Angular and very happy with it.

    • @HiteshCodeLab
      @HiteshCodeLab  Год назад +3

      I totally respect your disagreement. My perspective is towards beginners who just want to get started and will end up with NextJS. One should be able to learn react fundamentals like data flow, creating components etc just with pure react.

    • @diegoavendanohernandez9908
      @diegoavendanohernandez9908 Год назад

      Why didn't you just use next.js from the beginning?

    • @andreyyastrebtsov4367
      @andreyyastrebtsov4367 Год назад +2

      @@diegoavendanohernandez9908 because I knew nothing about react or Angular, before that I worked 2 years with pure JS html and scss. And it seemed that we don't need fully fledged framework such as Angular or Next, especially if we don't know react.
      And that is the main pitfall in which many developers fall. You pick react, because it advertises itself as simple. Yes, react is simple, you won't be able to make a full SPA with it. And when you realize it, it is too late. You either continue and STRUGGLE with that you already learned along the way, trying to patch the wholes about which react does not care(routing forms, ect) or chose dump your knowledge about react-router and how to eject and expand CRA, and switch to Next, which has its own router and architecture.

  • @taandavyt8826
    @taandavyt8826 Год назад

    Now what should i do i was learning react js currently and got to know about this should i cancel all earliest tutorial of react very confuse

  • @fuzailkhan1913
    @fuzailkhan1913 Год назад

    I have learn react now what I should learn angular or nextjs

  • @VKD007
    @VKD007 Год назад

    Vercel will be building React in future that's true. FB isnt going to be focusing

  • @mutasimahmed8975
    @mutasimahmed8975 Год назад

    so much honesty in one video

  • @kepib
    @kepib Год назад

    Me too was having the same disappointment as soon as I visited the new website.

  • @PiyushYadav-pl9jm
    @PiyushYadav-pl9jm Год назад

    There was vite and create react app in beta a few days before but now they have removed here

  • @shreyasvaidya9552
    @shreyasvaidya9552 Год назад

    It will be good provide more info in the docs on how to install React using Parcel and Vite. But I don't think this is a major issue because the documentation of Parcel and Vite is very amazing and one will easily understand how to create a React application with these tools.

    • @ko-Daegu
      @ko-Daegu Год назад

      It’s kinda an issue if I’m in react doc so I should get the react pure experience
      Shouldn’t jump to vite as well
      Extra confusion I guess

  • @officialabdulrehman
    @officialabdulrehman Год назад +1

    Next is fine, even if you want to build something simple.
    Next makes routing and other stuff way too easy and more efficient.
    It also ends the need of having a backend for simple cruds, you simply put them directly with the frontend.
    Using plain react is no longer the Required way of using it anymore, and it's clear with new docs, and it's from the authors. And they didn't take this decision for no reason.

  • @rahul_sidhha
    @rahul_sidhha Год назад

    Thank you sir !!

  • @GhulamRasool-ox3vl
    @GhulamRasool-ox3vl Год назад

    agree

  • @vijaysarathi2883
    @vijaysarathi2883 Год назад

    Can we expect new React tutorial from you

  • @minor12828
    @minor12828 Год назад

    We failed to notice the intentions from the beggining. They lied saying react is a library and that it was easy to move to or integrate and we believed (Dirty software marketing). React has always been a framework they are just simplifing the use of it now. Welcome to the real react face with no lies.

    • @minor12828
      @minor12828 Год назад

      Same happened with java 8 and the streams. The intentions were not to simplify or enable developers with new tools. The mere intention was to keep the runtime competing in a wolrd of horizontal scalling. They don't really care about us just the market.

  • @nepalxplorer
    @nepalxplorer Год назад

    exactly same thought as yours

  • @monarchgam3r
    @monarchgam3r Год назад

    I couldn’t agree more and I said it on twitter… it makes no sense to not mention vite

  • @shreyanmehta6999
    @shreyanmehta6999 Год назад

    same thought

  • @nabinsaud4688
    @nabinsaud4688 Год назад +1

    Nextjs is cool i liked it

  • @MilindGoel15
    @MilindGoel15 Год назад

    Indeed, should have still kept create react app as last last resort.

    • @MaxProgramming
      @MaxProgramming Год назад +1

      I don't think so. Vite is 1000x better. Give it a shot and you will know
      Edit: I am talking about "Vue" but "Vite". They are different

    • @MilindGoel15
      @MilindGoel15 Год назад +1

      @@MaxProgramming actually, i have two websites hosted on hostinger because I didn't know much about hosting that time and the shared hosting offered by them doesn't support many languages. We can write plain react but I am not sure about vite or vue (probably no). Although, all of my other projects are on vercel.
      Can we still update react dependencies? But if it's all deprecated, updating any dependencies would be pointless.

    • @khaftabuddinahmed1634
      @khaftabuddinahmed1634 Год назад +1

      ​@@MilindGoel15 React, Vue, etc. are just simple Javascript files (unless Server side rendering is involved). They should all work on any server that supports HTML, CSS, and JS. You can use any of the tools, like Vite, Webpack, etc., to build your project and deploy the build folder, and that's it.

    • @MaxProgramming
      @MaxProgramming Год назад

      @@MilindGoel15 Vite in simple words is a faster and much better alternative to CRA. If you just try out Vite using npm create vite. You will notice how powerful it is.
      Also I think it's a lot better to simply switch from CRA to Vite now. All you have to do is copy paste the components AND use the same deps as in CRA

    • @MilindGoel15
      @MilindGoel15 Год назад +1

      @@MaxProgramming I just tried vite and its really a game changer. the final build went from 10mb to 700kb.

  • @csstudent-W8
    @csstudent-W8 Год назад

    Mostly people who is advertising c++ as a cp language they didn't work very well in market they just pass out from reputated
    college and started c++ playlist and cp cp cp barking everywhere and created controversy rather then explain that we can also do Development in c++ 😅😅

  • @poolman7786
    @poolman7786 Год назад

    next is not good for microservice

  • @shahidmonowar
    @shahidmonowar Год назад

    Yeah, first time when I saw vite like this I was like seriously?!😑

  • @visheshgupta4990
    @visheshgupta4990 Год назад

    I liked the video I can't share my POV on that because It's only 1 month for me knowing react I am learning react from past 1 month is anyone can Guide me what I need to do I am very confused from all this new documentation stuff and so much noise about it in the market what is the best optimized way to move forward Hopefully Someone Guide me Thanks Hitesh Sir for making this video ❤

  • @kumarvishalben
    @kumarvishalben Год назад

    React Server Component is the answer to your issue

  • @krunalchauhan5780
    @krunalchauhan5780 Год назад

    True

  • @greenshaheen6716
    @greenshaheen6716 Год назад

    hmm React wants we should a framework not simple react

  • @quickbytes7600
    @quickbytes7600 Год назад +1

    I paused the video in the middle and commented all vecel thing going on then watched remaining video and deleted that cmt 🤣

  • @vmmoorthi
    @vmmoorthi Год назад

    I love venila react

  • @harshrathod50
    @harshrathod50 Год назад

    create-react-app is dead 🔥

  • @anubhavpabby6856
    @anubhavpabby6856 Год назад

    Hey hitesh you are right even i think they should have provided some docs for creating standalone react app using vite or parcel.
    I am a react developer and thinking to switch, so which framework to go with in the future Next js or Remix?

  • @Aditya.Santra
    @Aditya.Santra Год назад

    👍

  • @divyanshu_chaurasiya
    @divyanshu_chaurasiya Год назад

    ❤❤

  • @ssk7690
    @ssk7690 Год назад

    npm create vite@latest.
    Hope people will come to your video for this lol..

  • @renishpaghdar6046
    @renishpaghdar6046 Год назад

    first comment

  • @saadatbadgujar
    @saadatbadgujar Год назад

    RIP create-react-app

  • @rishiraj2548
    @rishiraj2548 Год назад

    👍