Another year of JavaScript
with Cedric & Steve
MTL
Stats from 2022
The Frameworks
Place your bets on this years winner
The Usage
22.8% of developers refuse to admit they use JavaScript
Type of Usage
661 developers really hate it when things are easy
How we use it
"Islands Architecture" is how my desk is arranged
Oh Typescript
The year of the "Cross-Platform"
Array methods
Shebang Notation#!
// Can't touch this
Array.toReverse()
Array.toSorted()
Array.toSpliced()
Array.with()
// Where is it?!
Array.findLast()
Array.findLastIndex()
#!/usr/bin/env node
console.info('It only took 30 years!')
Symbols as WeakMap Keys
//using WeakMap and symbol
const privateData = new WeakMap();
const obj = {label:'Private data'};
const key = Symbol('privateKey'); // Create a unique Symbol as the key
privateData.set(key, obj); // Use the Symbol key to associate private data
console.log(privateData.get(key)); // Output: {label:'Private data'}
Dr. Rauschmayer
(After a day of trying to understand your React code)
WILD PREDICTIONS
OF THE FUTURE
2015
Revisiting a Prediction
SSR, static site generation, SEO fixes, streaming, hydration techniques
New
Predictions
More IoT
AAA Game, browser-first
More transpile source (Elm, clojurescript like things)
Web Components (lol, nope)