Day 32: Master JavaScript Modules: import, export, and Organize Like a Pro! 🀩

tapaScript by Tapas Adhikary β€’ August 12, 2023
Video Thumbnail
tapaScript by Tapas Adhikary Logo

tapaScript by Tapas Adhikary

View Channel

About

Learn Programming fundamentals, Full-stack concepts, and Web Development using JavaScript, ReactJS, Next.js, and its ecosystems. Hello Developers, Welcome to tapaScript πŸ‘‹. SUBSCRIBE to the channel so that you do not miss the in-depth learning experience. I am your teacher Tapas Adhikary, a developer passionate about UI, UX, Web Development, JavaScript, React, Next.js, Nodejs, Open Source, and FullStack engineering. I have dealt with code and computers since 2000, when I got into Computer Science and Engineering. Since 2004, the last 19 years have been an outstanding journey for me, learning and building production-ready software. I am on YouTube to teach you all I have gathered over these years. My passion for teaching, content creation, and building Open Source communities taught me about building and learning in public. I have been creating written content on my blog "GreenRoots Blog', FreeCodeCamp, CSS-Tricks, and other publications. Let's GO. SUBSCRIBE and JOIN.

Video Description

In this video, we're going to learn about JavaScript Modules. Modules are fundamental concepts in JavaScript before you learn any other library or framework like React, Angular, Vue.js, Node.js, etc. We'll be taking a crash course about the JavaScript modules, and by the end of this video, you'll be able to use modules to add flexibility, reusability, and power to your code. We will cover the following: βœ… What are Modules in JavaScript, and Why to Use? βœ… What are Exports and Imports in JavaScript Module? βœ… What are Exports and Imports in JavaScript Module? βœ… What are Default and Named Module Exports in JavaScript? βœ… What are Aliases in JavaScript Module Import? βœ… What are Namespaces in JavaScript Module? βœ… What is Combined Export in JavaScript Module? βœ… What is Dynamic Import in JavaScript Module? βœ… How to Handle Multiple Imports Using JavaScript Promise APIs? βœ… What is Tree Shaking & How Does It Help? Let's GO πŸš€ πŸ”” Don’t forget to subscribe and hit the bell to get notified when new JavaScript videos drop! - SUBSCRIBE: https://youtube.com/tapasadhikary - Join as a Member: https://www.youtube.com/channel/UCaYr5yxgOyk599Mnb3TGh-g/join - Follow tapaScript GitHub: https://github.com/tapascript βœ… Start 40 Days of JavaScript https://youtu.be/t8QXF85YovE?si=r9sGtJZPtgBl2V27 ## Join tapaScript Discord - Join 40 Days of JavaScript Discord: https://discord.gg/ux9BchWEW3 ## Download the 40 Days of JavaScript Tracker Template: - Link to the template: https://topmate.io/tapasadhikary/382755 ## Source Code on GitHub - https://github.com/tapascript/40-days-of-javascript (Please give the repo a STAR). Timecodes 0:00 - Welcome to JavaScript Module Crash Course 00:49 - How to Take This Course? 01:20 - What are Modules in JavaScript, and Why to Use? 05:10 - What are Exports and Imports in JavaScript Module? 13:26 - What are Default and Named Module Exports in JavaScript? 20:46 - What are Aliases in JavaScript Module Import? 23:11 - What are Namespaces in JavaScript Module? 25:49 - What is Combined Export in JavaScript Module? 32:31 - What is Dynamic Import in JavaScript Module? 39:18 - How to Handle Multiple Imports Using JavaScript Promise APIs? 45:16 - What is Tree Shaking & How Does It Help? 47:09 - What's Next & Where to Go From Here? ## 🀝 My Links: - Blog: https://blog.greenroots.info/ - Twitter: https://twitter.com/tapasadhikary - LinkedIn: https://www.linkedin.com/in/tapasadhikary - GitHub: https://github.com/atapas ## πŸ‘‹ Like my work? Thank You. You can sponsor me from here: - GitHub Sponsor: https://github.com/sponsors/atapas - Sponsor my Blog: https://blog.greenroots.info/sponsor ## πŸ’‘ Check out my other courses: - https://www.youtube.com/watch?v=UPeFK1uFJCE - https://www.youtube.com/watch?v=pIjfzjsoVw4&list=PLIJrr73KDmRyCanrlIS8PEOF0kPKgI8jN&pp=gAQBiAQB - https://www.youtube.com/watch?v=neWThioR5hw&list=PLIJrr73KDmRzBs_I3rfndvH_GPrF_byYD&pp=gAQBiAQB - https://www.youtube.com/watch?v=ODKIxaSMgpU&list=PLIJrr73KDmRyrDnDFy-hHvQ24rRjz6e_J&pp=gAQBiAQB ## About Me: Tapas Adhikary is an Educator at tapaScript, Tech enthusiast, Writer, YouTuber, and Open Source projects maintainer/contributor. He is a full-stack developer who has vast experience in building SaaS solutions. He is a founder of the ReactPlay platform, which is driven by Open Source projects and a fast-growing community. You can find more about him at https://tapasadhikary.com.

You May Also Like

JavaScript Developer Must-Haves

AI-recommended products based on this video

Loading...
Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

(786)
$69.15$33.51
FREE delivery Jun 13 - 17
Loading...
Herb Garden Planter Indoor Kit 21Pcs Kitchen Herb Garden Starter Kit Growing Kit Including Wooden Box Burlap Pots Soil Discs Gardening Tools Unique Easter Birthday Christmas Gift Ideas for Women Mom

Herb Garden Planter Indoor Kit 21Pcs Kitchen Herb Garden Starter Kit Growing Kit Including Wooden Box Burlap Pots Soil Discs Gardening Tools Unique Easter Birthday Christmas Gift Ideas for Women Mom

(0)
$30.99
FREE delivery Jun 19 - Jul 3
Loading...
Bonsai Starter Kit – 1x Bonsai Tree | Complete Indoor Starter Kit for Growing Plants with Bonsai Seeds, Tools & Planters – Gardening Gifts for Women & Men
Best Seller

Bonsai Starter Kit – 1x Bonsai Tree | Complete Indoor Starter Kit for Growing Plants with Bonsai Seeds, Tools & Planters – Gardening Gifts for Women & Men

(243)
$19.99
FREE delivery Sat, Jun 14 on your first order
300+ bought in past month
Loading...
Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

(382)
$94.95
PrimeFREE delivery Sat, Jun 14
Loading...
Ketone Test Strips, 50pcs Urinalysis Keto Test Strip Accurate Urine Dip Stick Testing Ketosis Home Urinalysis Tester Kit for Testing Body Urine Ketosis Levels

Ketone Test Strips, 50pcs Urinalysis Keto Test Strip Accurate Urine Dip Stick Testing Ketosis Home Urinalysis Tester Kit for Testing Body Urine Ketosis Levels

(57)
$11.72
FREE delivery Thu, Aug 14 on your first order
100+ bought in past month
Loading...
18 in 1 Drinking Water Test Kit,125 Strips Water Chemical Testing for Home Tap and Well Water, Accurate Testing for Chlorine,Nitrate, Lead, Hardness, Fluoride, Iron, Copper, pH & More

18 in 1 Drinking Water Test Kit,125 Strips Water Chemical Testing for Home Tap and Well Water, Accurate Testing for Chlorine,Nitrate, Lead, Hardness, Fluoride, Iron, Copper, pH & More

(169)
$23.39
FREE delivery Thu, Aug 14 on your first order
200+ bought in past month
Loading...
AAwipes Aquarium Ammonia Test Strips 8-in-1 |100 Strips | Quick & Accurate Water Testing for Freshwater & Saltwater Tanks -Test pH, Carbonate, Alkalinity, Hardness, Chlorine, Nitrite, etc. (K02-100)
Best Seller

AAwipes Aquarium Ammonia Test Strips 8-in-1 |100 Strips | Quick & Accurate Water Testing for Freshwater & Saltwater Tanks -Test pH, Carbonate, Alkalinity, Hardness, Chlorine, Nitrite, etc. (K02-100)

(496)
$14.04
FREE delivery Thu, Aug 14 on your first order
500+ bought in past month
Loading...
KINGRACK 3 Step Ladder, Folding Step Ladder with Anti-Slip Wide Pedal and Handrails, Foldable Stepladder Step Stool for Adults, Pass 900LBS Testing, for Home Garage Garden, Blue Global Recycled Standard

KINGRACK 3 Step Ladder, Folding Step Ladder with Anti-Slip Wide Pedal and Handrails, Foldable Stepladder Step Stool for Adults, Pass 900LBS Testing, for Home Garage Garden, Blue Global Recycled Standard

(1,162)
$69.99
FREE delivery Sat, Jun 28