React Router in Depth #2 - React Router Basics

Поделиться
HTML-код
  • Опубликовано: 15 янв 2025

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

  • @FrostDrive
    @FrostDrive Год назад +7

    Your tutorials are really easy to follow and understand. I have a degree in Communications and you're a great communicator

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

      Wow, thank you! :) that means a lot

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

    I love this series! It's very straight-forward and fresh. You're a great teacher.

  • @ramborb8795
    @ramborb8795 Год назад +6

    5:07 uoohoo 🤣😂

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

    U r having an excellent teaching skills ❤

  • @seunopeyemi8120
    @seunopeyemi8120 7 месяцев назад +1

    I fell out of love with react because I was unable to wrap my head around routing. This course has liberated me.

    • @NetNinja
      @NetNinja  7 месяцев назад +2

      That's awesome

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

    This package's documentation is really complicated. I hope the developers make it simpler. Thank you sensei for saving me..

  • @mil0s251
    @mil0s251 2 года назад +13

    Hello, thank you for the tut. Question: Why did you use .js and not .jsx when creating pages?

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

    perfect way of teaching, easy to understand

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

      Glad you think so! :)

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

    THIS IS A FANTASTIC PRESENTATION!
    Infinite thanks 😊

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

    man you saved my life! thank you!

  • @soltiscd
    @soltiscd 2 года назад +1

    Thank you for the refresher. Would you consider doing something on the tanstack in the future? Great stuff, as always.

  • @danielchiazor6853
    @danielchiazor6853 2 года назад +2

    ❤️ I love this guy

  • @catreunion
    @catreunion 2 года назад +1

    Thank you teacher 🙏🏻

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

    Great. Thank you very much. So professional.

  • @bartek3xe164
    @bartek3xe164 2 года назад +1

    If I want to do a routing and connect mongodb with node, should I use React routing?
    Express can work alone or not? I am new in react and node. I am grateful for your help.

    • @luminous_entity
      @luminous_entity 2 года назад +3

      To simply put and answer to this: If you are building a single page application (SPA), the only reason why you would like to reach out to your backend (nodejs with express server) through api calls from React is if you have some sort of data to be retrieved or stored in the database (mongodb for instance.
      A multi-page application means that for every link say home, about etc. to which a route is mapped, will actually send a request to the backend to send that particular html file against each of the links/routes. This is called server-side rendering that is your UI is being rendered based on the requests to the server, and the server sending back the html pages as needed. But this is a costly affair, increases network load and thus reduces performance of the application because each time a new http request-response cycle will be initiated.
      React simplifies this by dividing your webpage into various components and you may choose to attach routes to these components(in case you are building a big app). This means your components (say home page content, about page content) shall be mapped to a route (/home, /about etc.). Now when you click the link to the home page or about page with React SPA, it will not send the request to server, but react with handle the request and change the component accordingly. You may see that in a webapp things like navbar, navigation drawer does not change much, it is the content that re-renders based on user events. This can be achieved with React Routing.

    • @bartek3xe164
      @bartek3xe164 2 года назад +1

      @@luminous_entity thanks for simply answer XD ❤️

  • @sage_efo4438
    @sage_efo4438 6 месяцев назад

    Wow learned so much

  • @harpo187bling
    @harpo187bling 2 года назад

    Are you planning on doing any more react native stuff?

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

    Love this keep it up!

  • @wisdomelue
    @wisdomelue 2 года назад +1

    think they have a new method now, where you use createBrowserRouter and put your routes in an array and pass the routes array in the Router as one

    • @NetNinja
      @NetNinja  2 года назад +2

      Yeah - I mention that in this video, and for the rest of the series I use that newer method :).

    • @wisdomelue
      @wisdomelue 2 года назад

      @@NetNinja okayy, thank you as usual for your great content✊🏾

  • @GethushanRavichandran
    @GethushanRavichandran 2 года назад

    Please create a Playlist about "Creating E-Commerce Website using Strapi , MongoDB, React , and Stripe"

  • @tanhoang9948
    @tanhoang9948 2 года назад

    swiperJs please . Thank you teacher ❤❤

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

    This works with racfe format as well using a Vite project. I was stuck because i didnt refresh my page and had a # at the end of my local host url in chrome. Rafce format:
    const Contact = () => {
    return (
    Contact
    )
    }
    export default Contact

  • @Pavel-wj7gy
    @Pavel-wj7gy 2 года назад

    Thank you for the course. I like the way you explain things. Is it possible at all that you switch from js to typescript in future courses? Ts has become a defacto standard of the web.

  • @yanaiedri
    @yanaiedri 2 года назад

    can you implomant promp in this router?

  • @mawulisly2697
    @mawulisly2697 9 месяцев назад

    Thank youuu

    • @NetNinja
      @NetNinja  9 месяцев назад

      Hope it was helpful! 😊

  • @MrD3eath
    @MrD3eath 2 года назад

    Hi is it possible you cover the new nextjs update?

  • @nogombrate
    @nogombrate 2 года назад

    I have problem with new method becouse i dont know where to put Navigation . Only way i found how to use it was wrap each page with Navigation but that cant be correct way

  • @streamx2
    @streamx2 2 года назад

    Does your udemy react course cover this? I am following that course, should i continue with that?

    • @NetNinja
      @NetNinja  2 года назад +1

      There is a lot of react router stuff in the udemy course, but this has some extra stuff in it like loaders and actions.

  • @raksmeyincomputing
    @raksmeyincomputing 2 года назад

  • @ProjectNation99
    @ProjectNation99 2 года назад

    Hi best teacher!
    could you please make a project using redux toolkit ?
    thank you .

  • @raksmeyincomputing
    @raksmeyincomputing 2 года назад

    Can show React with MySQL

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

    nice tut like always

  • @towatch
    @towatch 2 года назад

    😍😍🔥

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

    8:59

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

    This code throws an error :(

  • @developedbypy
    @developedbypy 2 года назад

    Do react native please

  • @maskman4821
    @maskman4821 2 года назад

    cool 😘

  • @musafirfisabillah6566
    @musafirfisabillah6566 2 года назад

    greAT CONTENT

  • @getosuguru-i6c
    @getosuguru-i6c Год назад

    UPdate the couresr