Why Should You Learn React With Parcel? | The Complete React Course | Ep.07

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ส.ค. 2024
  • Source Code: github.com/procodrr/react-cou...
    📖 Chapters
    00:00 - Introduction
    01:18 - Different Bundlers - Vite, Parcel, and Webpack
    02:18 - What is Parcel?
    02:59 - Setup node project and install React
    04:48 - How does 'script.js' file execute?
    06:12 - How to export and import data using Export/Import keywords in JavaScript?
    08:46 - Why do we need Parcel?
    12:41 - How to install Parcel using NPM?
    14:22 - How to use Parcel?
    15:00 - How does Parcel work?
    20:38 - What is Hot Reloading or HMR(Hot Module Replacement)?
    22:01 - How does Hot Reloading work in Parcel?
    23:15 - Different ways in which Parcel helps!
    25:26 - Does Parcel converts our code?
    29:44 - How can we import ReactDOM?
    35:33 - How Source Maps tricks you by showing node_modules?
    41:01 - How to use build command for production ready - minified code?
    45:20 - Conclusion
    Import and Export in JavaScript: • Import and Export in J...
    In this video, we'll talk about different bundlers commonly used in web development, such as Vite, Parcel, and Webpack. We'll start with setting up a Node.js project and installing React, which is a fundamental step for most web applications.
    Throughout the video, we'll learn important concepts like exporting and importing data using JavaScript's Export and Import keywords, and we'll discuss the significance of using Parcel for our projects, highlighting its advantages and benefits. To grasp the practical aspects of using Parcel, we'll learn how to install it using NPM with practical examples of how to use it effectively in a project.
    One of the key features was Hot Reloading, or Hot Module Replacement (HMR), and how Parcel seamlessly supports it. We'll discuss different ways in which Parcel can assist developers in their workflow. We'll address concerns about code conversion and how Parcel handles this aspect, as well as practical insights into importing ReactDOM. In addition, we'll see Source Maps and how they can sometimes lead to challenges when displaying node_modules.
    Towards the end, we'll learn how to use the build command to generate production-ready, minified code, which is crucial for deploying a performant web application.
    By the end of the video, you'll get a comprehensive understanding of Parcel and its functionalities to streamline your web development projects.
    Have any doubts? Join this Telegram group and ask your question. You can also share the projects that you make in this group.
    Telegram Group : t.me/procodrr
    Sunday QnA Link: meet.google.com/vbp-hqnm-eiq
    Social Media
    🌐 Telegram: t.me/procodrr
    🌐 Linkedin: / anurag-singh-web-devel...
    🌐 Instagram: / procodrr
    🌐 Twitter: / anuragsinghbam
    🌐 Portfolio: anuragsinghbam.com/
    Music by geoffharvey from Pixabay
    #react #procodrr #webdevelopment

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

  • @adityakumarsingh7648
    @adityakumarsingh7648 2 หลายเดือนก่อน +4

    Man!!!! you're inspiration , I haven't watched this type of granular explanation , thanks for making this , i am sure this takes huge amount of effort, thanks bro.!!

  • @reezayn
    @reezayn 5 หลายเดือนก่อน +10

    Continuing again today with the series, damn BROTHER........... you are freakin' awesome yaar 🔥
    I am getting to understand even the dist and node moodule folder contents 😭
    The way you explain concepts and they align are mind blowing, I mean it.
    You are by far the best React teacher in the entire youtube and I swear to god I mean it.
    May god bless you with all the success in life as you are giving all this for free when no one else is>
    The way you explain things before using...... I can't express how happy I am to find your channel.
    Love you and your content brother.
    Please also teach us Next.js and it's latest features.
    Even if you decide to make it a paid course I am willing to pay.
    Again, love from Nepal. ❤
    You are winning hearts of students out here.

    • @procodrr
      @procodrr  5 หลายเดือนก่อน +6

      Thank you so much brother for this comment, it made my day.
      Comments like this keep me pushing to make more and more videos.
      Keep learning and sharing 😊

  • @t-rextk4668
    @t-rextk4668 ปีที่แล้ว +7

    congrats for 1k subs, your contents are very superior and regular, I really hope you will soon reach even bigger mile stone.

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

      Thanks bro so much bro, it means a lot. Keep Learning, sharing, and supporting ❤️

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

      Sir npx parcel index.html not working

  • @thefreemonk6938
    @thefreemonk6938 17 วันที่ผ่านมา +1

    Thanks bro, simply the best React course on TH-cam.

    • @thefreemonk6938
      @thefreemonk6938 16 วันที่ผ่านมา

      Oh wow! I am really lucky to receive heart from you! I absolutely love your content!

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

    Parcel index.html specified module not be found please sir help for this error

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

    this is helpful ❤

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

    Congratulations for 1k subscribers 🎉🥳🥳
    Didn't know that we can create react app like this.

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

      Thanks bro 😊
      I'm glad you found something new.

  • @user-uz3hk2we4g
    @user-uz3hk2we4g วันที่ผ่านมา +1

    sir ek baar file close karne ke baad jab mene firse update kiya console me kuch to wo update hi nhi ho rha h

  • @iam_manishrawat
    @iam_manishrawat 5 หลายเดือนก่อน +1

    Can we do npx i for dependencies?

  • @goneaway-o3z
    @goneaway-o3z 22 วันที่ผ่านมา +1

    npx parcel index.html is not working sir plz bta de kia issue hoga

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

    you got a subscriber! One question. why didn't you used vite? today parcel or vite?

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

    Nextjs playlist kab aayegi sir

  • @learnCodeWithAshish
    @learnCodeWithAshish 5 หลายเดือนก่อน +1

    CORRECTION ! 11:57 sir console.log(React) print all the properties available in react on terminal if you do pkg.json file type module

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

    while installing parcel every time i get this error A complete log of this run can be found i! please can anyone suggest me how to resolve this, i have already tried various ways but it did not work

  • @ashutoshgiri2974
    @ashutoshgiri2974 11 วันที่ผ่านมา

    depth❤

  • @sanskargupta1087
    @sanskargupta1087 10 หลายเดือนก่อน +1

    sir i am using vite previously can u plz make a comparison video on vite vs parcel vs webpack?

    • @procodrr
      @procodrr  10 หลายเดือนก่อน +1

      Parcel ham kewal ye samajhne ke liye use kar rahe hain ki kaise React mein saari files aapas mein connected hoti hain.
      Aage chalkar ham bhi Vite hi use karenge.

    • @sanskargupta1087
      @sanskargupta1087 9 หลายเดือนก่อน +1

      @@procodrr ok sir got it thanks 😀

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

    Sir hmko ek doubt hai ki, bahut log vite ka use karke react app create karte hai and bahut log angular ka,
    Vite ko kaise pata hai ki usko kis chiz ka file install karna hai

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

      Project create karne se pahle Vite poochhta hai ki kaun sa app create karna hai. Aur tumhe select karna hota hai. Jo option select karoge wo app Vite bana dega.
      Aur Vite mein Angular ka option nahi hota hai.

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

    sir kindly create next js series

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

    Hi sir I am not able to import .pdf doc in parcel ........ like we import .png or .jpg files
    could you please give a solution for it ...

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

      Not only Parcel, in any React app you can't import pdf file like you import images.
      If you want to work with pdf file then you'll have to use 3rd party library.
      www.npmjs.com/package/react-pdf
      You can try this library.

  • @TheMarketingMan4U
    @TheMarketingMan4U 24 วันที่ผ่านมา

    App hi iska clone tutorial lee aoo..hamare bas kanahi hai abhi to..

  • @GauravSingh-id2mf
    @GauravSingh-id2mf ปีที่แล้ว +2

    practical done

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

      Awesome 👍

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

    21:30 🤣

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

    Sir console me error de rha hai "module is not defined" if (module.hot) {
    module.hot.accept();
    } is code ko likhne ke baad Sir please reply dena

    • @CodeWithAyan78
      @CodeWithAyan78 3 หลายเดือนก่อน +1

      Solve ho gyi problem

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

    hello sir, baaqi sab kuch tek chal raha hai par 'npx parcel index.html' kaaam nahi kr raha ... error de raha hai. bohot try kiya par chall nahi raha ..... plz help.

    • @procodrr
      @procodrr  6 หลายเดือนก่อน +1

      Kya error aaraha hai.

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

      @@procodrr PS D:\SYSTEM FILE\vsCODE work files\React JS\4. React With Parcel> npx parcel .\index.html
      Error: The specified module could not be found.
      \\?\D:\SYSTEM FILE\vsCODE work files\React JS\4. React With Parcel
      ode_modules\@parcel\source-map\parcel_sourcemap_node\artifacts\inde
      x.win32-x64-msvc.node
      at Module._extensions..node (node:internal/modules/cjs/loader:1473:18)
      at Module.load (node:internal/modules/cjs/loader:1207:32)
      at Module._load (node:internal/modules/cjs/loader:1023:12)
      at Module.require (node:internal/modules/cjs/loader:1235:19)
      at require (node:internal/modules/helpers:176:18)
      at Object. (D:\SYSTEM FILE\vsCODE work files\React JS\4. React With Parcel
      ode_modules\@parcel\source-map\parcel_source
      map_node\index.js:15:18)
      at Module._compile (node:internal/modules/cjs/loader:1376:14)
      at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
      at Module.load (node:internal/modules/cjs/loader:1207:32)
      at Module._load (node:internal/modules/cjs/loader:1023:12) {
      code: 'ERR_DLOPEN_FAILED'

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

      @@procodrr PS D:\SYSTEM FILE\vsCODE work files\React JS\4. React With Parcel> npx parcel .\index.html
      Error: The specified module could not be found.
      \\?\D:\SYSTEM FILE\vsCODE work files\React JS\4. React With Parcel
      ode_modules\@parcel\source-map\parcel_sourcemap_node\artifacts\inde
      x.win32-x64-msvc.node
      at Module._extensions..node (node:internal/modules/cjs/loader:1473:18)
      at Module.load (node:internal/modules/cjs/loader:1207:32)
      at Module._load (node:internal/modules/cjs/loader:1023:12)
      at Module.require (node:internal/modules/cjs/loader:1235:19)
      at require (node:internal/modules/helpers:176:18)
      at Object. (D:\SYSTEM FILE\vsCODE work files\React JS\4. React With Parcel
      ode_modules\@parcel\source-map\parcel_source
      map_node\index.js:15:18)
      at Module._compile (node:internal/modules/cjs/loader:1376:14)
      at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
      at Module.load (node:internal/modules/cjs/loader:1207:32)
      at Module._load (node:internal/modules/cjs/loader:1023:12) {
      code: 'ERR_DLOPEN_FAILED'

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

      Mera bhi ye kaam nahi kr rha bro Mera error toh nahi de raha but koi new server bhi start nahi kr rha

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

    sir after parcel install (Error: Expected content key de1e4a02ec63c4eb to exist) yea error a raha hai

    • @procodrr
      @procodrr  3 หลายเดือนก่อน +2

      Parcel cache wala folder delete karke phirse start karo

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

      @@procodrr its working thank u sir

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

    sir vite kyu nhi use kiya woh bhi easy hai

  • @AryanManik-zk3pp
    @AryanManik-zk3pp 3 หลายเดือนก่อน

    Webpack doesnt generate this much of unncessary code.

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

    Day2 episode 7

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

    Bhaiya Aapne bhi Akshay sir ka course join Kiya tha kya ?

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

    Sir next js bhi lekr aayiye na pls 😢 mera backend complete hene wala h to me next js bhi start krunga pls sir ab to next js series lekr aayiye 😊 thoda fastly 😊 and thank you so much sir

    • @UmeshChandra-r5y
      @UmeshChandra-r5y 6 ชั่วโมงที่ผ่านมา

      bro can you suggest some channels for backend

    • @teambaaz007
      @teambaaz007 6 ชั่วโมงที่ผ่านมา

      @@UmeshChandra-r5y yaah
      you can check it
      First- thapa technical
      Second -coder dost
      Third -sheriyansh coding school
      Fourth - if you not a fresher then you check it also । chai aur code । for back-end
      Ab ap check kr ke apne according deside kr skte ho
      All these are Hindi medium TH-cam channels

  • @tbmsahil8850
    @tbmsahil8850 9 หลายเดือนก่อน +1

    chalawa misconception bro

  • @GauravSingh-ft5hq
    @GauravSingh-ft5hq 25 วันที่ผ่านมา

    Confusion karte ho tum sirf yr topic se hatkar

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

    thanks bro -------------------------------------------------------------------------------------------------------------------------->