---
title: "Using native modules in production today"
publication: "JavaScript Weekly"
issue: 451
published_at: "2019-08-23"
canonical_url: "https://javascriptweekly.com/issues/451"
---

This week's JavaScript news       

#451 — August 23, 2019 

[Read on the Web](https://javascriptweekly.com/issues/451)   

JavaScript Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,h_200,c_crop,g_east/v1566575026/fgj13mznzpcah1igrfpt.png)](https://philipwalton.com/articles/using-native-javascript-modules-in-production-today/)   

[Using Native JavaScript Modules in Production Today](https://philipwalton.com/articles/using-native-javascript-modules-in-production-today/) — _“now, thanks to some recent advances in bundler technology, it’s possible to deploy your production code as ES2015 modules—with both static and dynamic imports—and get better performance than all non-module options currently available.”_ 

Philip Walton   

[Web Template Studio 2.0: Generate New Apps from VS Code Wizard-Style](https://blogs.windows.com/windowsdeveloper/2019/08/21/growing-web-template-studio/) — Web Template Studio is an extension, from Microsoft, for Visual Studio Code that simplifies creating new full-stack apps in a ‘wizard’-esque style. It now supports Angular, Vue, and React. 

Lea Akkari (Microsoft)   [![\](https://copm.s3.amazonaws.com/ddb43d9d.png)](https://app.livestorm.co/the-software-house/design-patterns-for-microservice-architecture?utm_source=newsletter&utm_medium=mailing&utm_campaign=webinar_patterns&utm_content=javascriptweekly) 

[Free Webinar: Design Patterns for Microservice Architecture](https://app.livestorm.co/the-software-house/design-patterns-for-microservice-architecture?utm_source=newsletter&utm_medium=mailing&utm_campaign=webinar_patterns&utm_content=javascriptweekly) — If you're planning to design microservice architecture, make sure to learn the best design patterns first. We'll talk about API Gateway, BFF, Monorepo, gRPC and more. Everything based on real-life examples from successful SOA projects. 

The Software House sponsor   

▶[The State of JavaScript Frameworks in August 2019](https://www.youtube.com/watch?v=6Ievupll1ng) — Every six months, Tracy Lee sits down with several representatives of different frameworks to get a brief update on how they’re doing. This hour long episode features Evan You (Vue.js), Minko Gechev (Angular), Michael Dawson (Node.js), Jen Weber (Cardstack), Manu Mtz.-Almeida (Ionic) and Marvin Hagemeister (Preact). 

Tracy Lee   

[JavaScript to Know for React](https://kentcdodds.com/blog/javascript-to-know-for-react) — Examples of which JavaScript features in particular you should be familiar with when learning and using React. 

Kent C Dodds   

[date-fns 2.0: It's Like `lodash` But For Dates](https://github.com/date-fns/date-fns) — A date utility library that provides an extensive and consistent API for manipulating dates, whether in the browser or in Node. After tree-shaking and minification, date-fns [can be much more compact](https://artemdemo.com/blog/20181104-replacing-momentjs/) than moment.js. [Homepage.](https://date-fns.org/) 

date-fns   

[Node v12.9.0 (Current) Released, Now on V8 7.6](https://nodejs.org/en/blog/release/v12.9.0/) — The upgrade to [V8 7.6](https://v8.dev/blog/v8-release-76) opens up some new opportunities like [`Promise.allSettled()`](https://v8.dev/features/promise-combinators#promise.allsettled), `JSON.parse` and frozen/sealed array perf improvements, and `BigInt` now has a `toLocaleString` method for localized formatting of large numbers. 

Node.js Foundation  

💻 Jobs  

[Frontend Engineer at Scalable Capital (Munich)](https://careers.scalable.capital/o/frontend-engineer-mfx) — Passionate about React and GraphQL? Join our Team of JavaScript Developers and shape the future of FinTech. 

Scalable Capital GmbH   

[Have You Thought About Being a Web Developer in Robotics?](https://www.veobot.com/jobs/?gh_jid=4341006002) — A unique opportunity to work on a high-powered engineering web application for a computer vision system combining 3D graphics and an intuitive user experience. 

Veo Robotics   

[Get Hired Based on Your Skills Not Your CV](https://hackajob.co/p/discover?utm_source=cooperpress&utm_medium=paid&utm_campaign=jw_aug-23) — We’ll introduce you to over 1,500+ companies who’ll compete to hire you. You’re always hidden from your current employer and we’re trusted by over 100k developers. 

hackajob  

📘 Tutorials  

[An Introduction to Memoization in JavaScript](https://nick.scialli.me/an-introduction-to-memoization-in-javascript/) — ‘Memoization’ is when you cache return values of functions based upon the arguments provided. Here’s an example of creating a separate function that can do this for existing functions. 

Nick Scialli   

[Why is `('b'+'a'+ + 'a' + 'a').toLowerCase()` 'banana'?](https://stackoverflow.com/q/57456188/3951) — One of those fun little JavaScript “wat” moments. 

Stack Overflow   

[The State of JavaScript: 2019 and Beyond. Get the Whitepaper](https://www.telerik.com/campaigns/kendo-ui/wp-state-of-javascript-in-2019?utm_medium=cpm&utm_source=jsweekly&utm_campaign=kendo-ui-general-whitepaper-state-of-js2019&utm_content=sponsored-link) — Read about the latest developments and trends in the JavaScript ecosystem, and how things will change in 2019 and beyond. 

Progress Kendo UI sponsor   

[All The New ES2019 Tips and Tricks](https://css-tricks.com/all-the-new-es2019-tips-and-tricks/) — An accessible, example-heavy roundup of new ES2019 features. 

Laurie Barth   

[Exploring the Two-Sum Interview Question in JavaScript](https://nick.scialli.me/exploring-the-two-sum-interview-question-in-javascript/) — There are two solutions, the straightforward ‘brute force’ way, and a more efficient solution that can demonstrate strong CS fundamentals.. 

Nick Scialli   

[Using Generators for Deep Recursion](https://jasonhpriestley.com/array-distance-and-recursion) 

Jason H Priestly   

[7 Ways to Make Your Angular App More Accessible](https://www.telerik.com/blogs/7-ways-to-make-your-angular-app-more-accessible) 

Chris Ward   

▶[Is Modern JavaScript Tooling Too Complicated?](https://changelog.com/jsparty/89) — A podcast where two developers debate a point with two other developers, each group taking one side of the debate. Is modern JS tooling too complicated? Discuss! 

JS Party podcast  

🔧 Code and Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/fj2gm43lfez37w2l0poo.jpg)](https://blog.atulr.com/nodegui-intro/)   

[NodeGUI: A New Way to Build Native Desktop Apps with JavaScript](https://blog.atulr.com/nodegui-intro/) — An interesting new alternative to something like Electron as it’s based around Qt, the cross platform widget toolkit, rather than a browser engine. 

Atul R   

[Chart.xkcd: xkcd, Hand-Drawn-Style Charts](https://github.com/timqian/chart.xkcd) — If you like your lines wiggly and rough, this might be for you. It tries to mimic the style of the fantastic [xkcd comic.](https://xkcd.com/) 

Tim Qian   

[Browser Automation Experience Made Reliable and Less Flaky](https://taiko.gauge.org/?utm_campaign=js_weekly&utm_medium=email&utm_source=js_weekly&utm_content=taiko_home&utm_term=) — Taiko is a free/open source browser automation tool that addresses the last mile to reliable testing. 

ThoughtWorks - Taiko sponsor   

[FilePond: A Flexible File Uploader with a Smooth UI](https://pqina.nl/filepond/) — It’s vanilla JavaScript but has adapters to make it easier to use with React, Vue, Angular, or even jQuery. v4.5 has just dropped. [GitHub repo.](https://github.com/pqina/filepond) 

Rik Schennink   

[v8n: A 'Fluent Validation' Library](https://github.com/imbrn/v8n) — Chain together rules to make validations, e.g. `v8n().some.not.uppercase().test("Hello");` 

Bruno C. Couto   

[file-type: Detect The File Type of a Buffer/Uint8Array](https://github.com/sindresorhus/file-type) — For example, give it the raw data from a PNG file, and it’ll tell you it’s a PNG file. 

Sindre Sorhus   [![\](https://res.cloudinary.com/cpress/image/upload/v1566401822/g8ygevpjlxgj4xgdcwcf.png)](https://larsjung.de/pagemap/) 

[pagemap: A 'Mini Map' for Your Pages](https://larsjung.de/pagemap/) — A neat little idea that’s particularly useful on long pages. This adds a clickable/navigable overview of an entire page to the top right corner. Here’s [the associated repo](https://github.com/lrsjng/pagemap). 

Lars Jung   

[Automated Code Reviews for 27 Languages, Directly from Your Workflow](https://lp.codacy.com/code-reviews?utm_source=CooperPress&utm_medium=cpm&utm_campaign=CooperPress-JavaBL&utm_term=%7Bkeyword%7D&utm_device=%7Bdevice%7D) 

Codacy sponsor     

⚡️ Quick Releases 

- [ESLint 2.6.1](https://eslint.org/blog/2019/08/eslint-v6.2.1-released)
- [d3 5.10 & 5.11](https://github.com/d3/d3/releases/tag/v5.10.0) — the JavaScript data visualization library.
- [vue-cli 3.11](https://github.com/vuejs/vue-cli)
- [AVA 2.3](https://github.com/avajs/ava/releases/tag/v2.3.0) — popular test runner for Node.
- [The Lounge 3.2](https://github.com/thelounge/thelounge/releases/tag/v3.2.0) — a JavaScript-powered IRC client.           

Curated by [Cooperpress](https://cooperpress.com/) and [Peter Cooper](https://twitter.com/peterc). 

'JavaScript' is a trademark of Oracle Corporation in the US
We are not endorsed by or affiliated with Oracle. 

[Change your email address](https://javascriptweekly.com/edit_subscription/*|UID|*) or[stop getting this newsletter](https://javascriptweekly.com/leave/*|UID|*). 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
