 
      
    | You are here | 2ality.com | ||
| | | | | www.2ality.com | |
| | | | | Rich Harris' module bundler Rollup popularized an important feature in the JavaScript world: tree-shaking, excluding unused exports from bundles. Rollup depends on the static structure of ES6 modules (imports and exports can't be changed at runtime) to detect which exports are unused. Tree-shaking for webpack is currently in beta. This blog post explains how it works. The project we are going to examine is on GitHub: tree-shaking-demo | |
| | | | | www.valentinog.com | |
| | | | | I'm sure you already know everything about ECMAScript modules, so here's a quick recap for myself! | |
| | | | | domenic.me | |
| | | | | JavaScript strict mode has a lesser-known benefit in how it brings sanity to variable scoping. | |
| | | | | reactnative.dev | |
| | | Part of having a great developer experience is having great documentation. A lot goes into creating good docs - the ideal documentation is concise, helpful, accurate, complete, and delightful. Recently we've been working hard to make the docs better based on your feedback, and we wanted to share some of the improvements we've made. | ||