World Congress 2024

How writing just one import the wrong way slows down your website

July 19, 2024 13:20 – 13:30 · 10 min Airstream (120)

What this session covers

Tree shaking is a feature that is used by modern bundlers to keep bundle size down (and load times fast), but if just one import is written in a non-optimal way, this can result in the whole dependency being included in the bundle. In some cases, this even happens with automatically suggested imports by the IDE. Learn about the correct way of importing from dependencies, tricks you can use to easily determine the impact on bundle size, and why having a lot of dependencies may not be as bad as you think!

Related talks at this congress

Open session

World Congress 2024

July 19, 2024 · 13:00–13:30

STAGE 8 (120)

Tree Shaking the Bytes Away

Francesco Novy

Senior Software Engineer @ Sentry

Francesco Novy
Open session

World Congress 2024

July 18, 2024 · 16:10–16:40

STAGE 5 (500)

Common Mistakes in Vue.js and How to Avoid Them

danielkellyio

Lead Intructor at Vue School

danielkellyio
Open session

World Congress 2024

July 18, 2024 · 12:10–12:40

STAGE 10 (120)

Oh CommonJS! Why are you mESMing with me?

Jolo

Fullstack developer with a knack for whipping up code recipes using my secret ingredients: a dash of JavaScript, a pinch of Python, and a whole lot of serverless magic

Jolo
Open session

World Congress 2024

July 19, 2024 · 13:05–13:15

Airstream (120)

It's not only about the footprint

Carsten Windler

Principal Engineer @ Plan A

Carsten Windler
All sessions at this congress