Optimize ES6 Code For Output Minification & Performance (Ninja Tricks Included) — Modus Create: Front End Development — Medium

How to write #ECMAScript6 code for smaller and faster #ReactJS web applications  #React #ES6

  • Let’s see how default arguments work.
  • let newState = Object.assign({}, state); // 38 bytes minified
  • let noop = () => {}; // 22 bytes minified (29% more bytes)

Read the full article, click here.


@ggrgur: “How to write #ECMAScript6 code for smaller and faster #ReactJS web applications #React #ES6”


Transpiled ES6 code can get sizable, which doesn’t benefit limited bandwidth users, such as those using your mobile web …


Optimize ES6 Code For Output Minification & Performance (Ninja Tricks Included) — Modus Create: Front End Development — Medium