What is tree shaking and how does it work?

added by JavaScript Kicks
1/22/2019 7:40:25 AM

481 Views

When Javascript applications get to a certain size, it's helpful to separate the code into modules. However, when we do so, we can end up with code imported that isn't actually used. Tree shaking is a method of optimising our code bundles by eliminating any code from the


0 comments