← React Intermediate Questions - Set 11 Q110

What is tree shaking in React applications?

React Intermediate Questions - Set 11

Example

import { debounce } from './utils';   // only what is used is bundled
export const debounce = …            // named exports shake better than default objects

What to notice

← Back to the question list