YoVDO

Native JavaScript Modules

Offered By: WeAreDevelopers via YouTube

Tags

WeAreDevelopers World Congress Courses Web Development Courses Javascript Courses Node.Js Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore native JavaScript modules in this 41-minute conference talk from WeAreDevelopers World Congress 2018. Dive into the modern browser support for native JS modules and learn how they're changing JavaScript bundling and code execution. Discover the level of support in browsers and Node.js, and uncover key findings and potential pitfalls when publishing and using modules in production. Follow along as the speaker covers topics such as external JS files, Async Module Definition, CommonJS, ECMAScript Modules (ESM), ESM features, differences from classic scripts, module loading order and process, handling circular dependencies, ES module paths, package name maps, dynamic imports, and performance considerations. Gain practical insights through a demo on lazy loading Bootstrap scripts based on user actions, and learn about NPM package entries, import.meta, and unit testing for modules.

Syllabus

Intro
First attempt: external JS files
Async Module Definition
CommonJS
ECMAScript Modules aka JavaScript modules aka ESM
ESM Features
Differences with classic scripts
Modules loading order
Module loading process
Handling circular dependencies
ES module path
Package name maps (module resolution algorithm)
Dynamic import()
DEMO Lary load of Bootstrap scripts on user actions
NPM package entries
import.meta
Other types of scripts
Performance
Unit Testing


Taught by

WeAreDevelopers

Related Courses

Stack Overflow - Community and AI
WeAreDevelopers via YouTube
Tech Blogging, Building Your Personal Brand, and Navigating the Developer World
WeAreDevelopers via YouTube
When Worlds Collide - How Will Generative AI Change the Way We Design and Build Software
WeAreDevelopers via YouTube
Fintech Disruption - A Fireside Chat
WeAreDevelopers via YouTube
Stack Overflow - Past, Present & Future
WeAreDevelopers via YouTube