Pavithra Kodmad (PK)
@PKodmad
Next generation frontend tooling
Why does JS need tooling?
• Lacks compilation
• No static typing
• No module system
Why does JS need tooling?
• Lacks compilation
• No static typing
• No module system
Commonly used tools
• tsc compiler
• babel transforms
• css & postcss
• testing tools
• bundlers
Problems with JS tools
• HMR sucks
• Source maps :(
• tragic configs
• everything is slow
Problems with JS tools
• HMR sucks
• Source maps :(
• tragic configs
• everything is slow
ES Modules
• platform bae <3
• new module system
• came in ES6
• esm vs commonjs
• new ideas
Non JS tooling
• esbuild <3
• written in Go
• very very fast
ESM is awesome for
development
@web/dev-server
pika/snowpack
https://vitejs.dev
My favourite Vitejs features
Instant server start + file load
HMR support for vuejs and reactjs
TS and JSX support
Prebundling
Multiple entry points
Library mode
Image asset handling
Dynamic imports polyfill
Universal plugin support
Third age of Javascript
• ESM based development
• New css approaches
• Rust/Go/WASM for frontend tooling
• Emerging Deno
Resources
Open source Friday with Evan You - https://www.youtube.com/watch?v=UJypSr8IhKY
Learning with Jason and Sunil Pai - https://www.youtube.com/watch?v=KLdF1yu_bmI
Toolsday podcast with Jason Miller - https://podbay.fm/p/toolsday/e/1608142193
Vite 2 features - https://patak.dev/web/vite-2.html
Pika and Snowpack - https://podcasts.apple.com/us/podcast/200-pika-and-snowpack/id899384794?i=1000480602680
Vite website - https://vitejs.dev/
Snowpack website - https://www.snowpack.dev/
Follow me @PKodmad

Next generation frontend tooling