r/javascript • u/[deleted] • May 08 '19
Hands down the best presentation I've ever seen over JavaScript Bundlers/Module system
https://youtu.be/WGlT921ixx48
u/paulqq May 08 '19
hail node 12 --experimental-modules
11
u/beau6183 May 08 '19 edited May 08 '19
$ hail node 12 --experimental-modules -bash: hail: command not found $ brew install hail Error: No available formula with the name "hail" ==> Searching for a previously deleted formula (in the last month)... Error: No previously deleted formula found. ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching taps... ==> Searching taps on GitHub... Error: No formulae found in taps. $Well I tried.
1
1
18
u/Investisseur May 08 '19
TLDR?
22
u/themalteseburglar May 08 '19
It's a nice overview of the evolution of javascript modules up to today, explaining what they are, why they are needed, how they have been implemented and imported in the past (with pros/cons) and briefly how to use them today with webpack.
-15
u/i_ate_god May 08 '19
aka:
Why a standard feature of all programming languages proved to be a huge pain in the ass for developers because our users couldn't be bothered with installers anymore :(
15
u/artyhedgehog May 08 '19
- There weren't any dependencies managers in js - here is how we could make a bundle...
- We actually want a module for each dependency - here is how we create it...
- Then there are lots of dependencies managers - here is how they work...
- Here is how you can build a module bundler, so that all those dependencies work in any browser...
- But wait, there is already webpack - here is how you can use it and what it can do...
2
3
u/murimuffin May 08 '19
I love how this guy says jGuiri. Amazing talk!
7
u/loigiani May 08 '19
And you didn't hear me saying "scenario" and "scaffolding"... Trust me, my native English speaking colleagues are still laughing 😋
2
5
u/dance2die May 08 '19
Oh noes. Someone probably misunderstood "hands down" and downvoted the video...
2
1
0
May 08 '19
[deleted]
4
May 08 '19
When it comes to JS, Dont ever feel bad for not knowing something. 95% of JS developers say they know something, but only 5% can actually explain it.
0
4
u/GhostGo May 08 '19
How many presentations on javascript bundlers/module system have you seen?