Explain it in 60 seconds
Tree shaking
Frontend Engineering · Web Performance · Beginner
What is tree shaking?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Removes unused exports from bundles.
- Relies on ES module static imports.
- Side effects can prevent removal.
- sideEffects field in package.json.
- Import specific functions.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.