---
title: "#352: How Memory Management Works"
publication: "JavaScript Weekly"
issue: 352
published_at: "2017-09-15"
canonical_url: "https://javascriptweekly.com/issues/352"
---

#352: How Memory Management Works

This week's JavaScript news — [Read this e-mail on the Web](http://javascriptweekly.com/issues/352)

JavaScript WeeklyIssue 352 — September 15, 2017[How Memory Management Works in JavaScript](https://blog.sessionstack.com/how-javascript-works-memory-management-how-to-handle-4-common-memory-leaks-3f28b94cfbec).. and how to handle 4 common memory leaks. A good primer for anyone not familiar with the depths of memory management. Alexander Zlatkov 
[Zero-Config Code Transformation with babel-macros](https://babeljs.io/blog/2017/09/11/zero-config-with-babel-macros)babel-macros is a new Babel plugin for implementing zero-config, importable code transformations. Kent C. Dodds 
[V8 Release 6.2](https://v8project.blogspot.co.uk/2017/09/v8-release-62.html)V8’s latest branch is in beta until its release in Chrome 61 and it’s packed with developer-facing goodies including extra performance, more regex features, and an increased max string length. Mathias Bynens 
[![Frontend Masters\](https://copm.s3.amazonaws.com/e3b4f186.jpg)](https://frontendmasters.com/sale/trial/?utm_source=javascriptweekly&utm_medium=email)[🚀 Watch 10+ Free JS & Front-End Engineering Courses Now](https://frontendmasters.com/sale/trial/)Get free access to upgrade your skills with in-depth and modern front-end engineering courses. Don't delay — these courses are only free until Tuesday. Frontend MastersSponsor
[Compilers are the New Frameworks](https://tomdale.net/2017/09/compilers-are-the-new-frameworks/)_“If you’re interested in predicting the future of the web, just look at what high-performance native systems look like, then figure out how we can apply those ideas in the browser.”_ Tom Dale 
[Modern Modules: Rethinking the Node Ecosystem for Modern JS](https://medium.com/@mikeal/modern-modules-d99b6867b8f1)_“It makes far more sense to write modules that directly use new browser APIs and polyfill for Node.js and older browsers when necessary.”_ Mikeal Rogers 
[How V8 Optimizes Arrays By Monitoring 'Element Kinds'](https://v8project.blogspot.com/2017/09/elements-kinds-in-v8.html)An interesting glimpse ‘under the hood’ of Chrome’s JavaScript engine for a specific array-oriented optimization. Mathias Bynens 
[React for Angular Developers](https://www.sitepoint.com/react-for-angular-developers/)Are you an Angular dev looking to get started with React? If so, join Mark Brown for a guided tour of the differences and similarities. SitePoint 


Jobs

- [Senior Developer - React / Node (Sofia, Bulgaria)](https://www.jobs.bg/job/3936067?utm_source=javascriptweekly&utm_medium=email)If you’re looking to work in an exciting startup and have the opportunity to define the company culture, check this role out. Automio
- [Senior Front-End Engineer (San Francisco)](http://frontenddeveloperjob.com/job/59af6a0a45792c000488084e?utm_source=javascriptweekly&utm_medium=email) Entelo
- [Front-End Engineer - React (Berlin)](http://frontenddeveloperjob.com/job/59b69a1a18252b0004935d76?utm_source=javascriptweekly&utm_medium=email) SumUp

In Brief

[What's New in Node 8.5?](https://blog.risingstack.com/whats-new-in-node-js-8-5/) news 
Node 8.5.0 [was released](https://nodejs.org/en/blog/release/v8.5.0/) this week.
RisingStack Engineering

[Planning for Babel 7.0: What's Happening](https://babeljs.io/blog/2017/09/12/planning-for-7.0) news
Henry Zhu

[Using ES Modules Natively in Node.js](http://2ality.com/2017/09/native-esm-node.html) tutorial 
Starting with v8.5 Node can support ES modules natively.
Dr. Axel Rauschmayer

[Get to Know The Actor Model in JS](https://monades.roperzh.com/get-to-know-the-actor-model/) tutorial 
A gentle introduction to the foundational concepts.
Roberto Dip

[HTML Templates via ES6 Template Literals](https://css-tricks.com/html-templates-via-javascript-template-literals/) tutorial
Chris Coyier

[How to Create A 'Favorite' Animation with Anime-js](https://hackernoon.com/how-to-create-a-favorite-animation-with-anime-js-5f9ec02c80dd) tutorial
Mikael Ainalem

[View and Remove JS Event Listeners in Chrome DevTools](https://umaar.com/dev-tips/158-framework-event-listeners/) tutorial
Umar Hansa

[How to Improve Webpack Performance in Large Projects](https://redfin.engineering/tech-talk-recap-how-to-improve-webpack-performance-in-large-projects-5435bb18dd18) tutorial 
Slides and audio, but the post includes some written tips as well.
Robert Gay

[Building an Accessible Data Grid](https://www.grapecity.com/en/blogs/flexgrid-accessibility?utm_source=JavaScriptWeekly&utm_medium=Newsletter&utm_campaign=Wijmo_09-17) 
Take a look at how Wijmo made FlexGrid accessible with ARIA standards and more.
GrapeCity WijmoSponsor

[4 Tips for Retaining Strong-Typing in Tests with TypeScript](https://justintimecoder.com/tips-to-retain-strong-typing-in-tests-with-typescript/) opinion
Just In Time Coder

[What I Love and Hate About Flow](https://medium.com/@halistechnology/what-i-love-and-hate-about-flow-704835ad087f) opinion 
[Flow](https://flow.org/) is a static type checker for JavaScript.
Chris Grimes

[A Brief, Incomplete History of JavaScript](https://closebrace.com/articles/2017-09-11/a-brief-incomplete-history-of-javascript) story 
Where did things start and how did we get to where we are now?
Christopher Buecheler

[Advanced Dependency Injection Without Classes](https://www.youtube.com/watch?v=6YBV1cKRqzU) video
Fun Fun Function

[Size Limit: Prevent JS Library Bloat](https://github.com/ai/size-limit#readme) tools 
If you accidentally add a huge dependency, Size Limit will throw an error.
Andrey Sitnik

[Create Beautiful, Dynamic React Apps with a Single Component Library - Try ExtReact for Free Today](https://www.sencha.com/products/extreact/evaluate/?utm_source=cooperpress&utm_medium=tpe&utm_campaign=extreact&utm_content=q3fy18-single-component-library) 
Sencha, Inc.Sponsor

[Classwrap: A JS Utility for Conditionally Concatenating Class Names](https://github.com/jbucaran/classwrap) code
Jorge Bucaran

[p-progress: Create A Promise That Reports Progress](https://github.com/sindresorhus/p-progress) code
Sindre Sorhus

[words-to-numbers: Convert Textual Words to Numbers with Fuzzy Text Matching](https://github.com/finnfiddle/words-to-numbers) code
Finn Fitzsimons

[jquery-punchcard: jQuery Plugin for Creating GitHub Punchcard-Like Graphs](https://github.com/melenaos/jquery-punchcard) code
Menelaos Vergis

[Power, Flexibility, and Control with CircleCI 2.0](https://circleci.com/?utm_source=cooperpress&utm_medium=newsletter&utm_campaign=september&utm_content=javascript-weekly) 
CircleCISponsor

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

Like this? You may also enjoy: [FrontEnd Focus](http://frontendfocus.co/) : [Node Weekly](http://nodeweekly.com/) : [React Status](http://react.statuscode.com/)

[Stop getting JavaScript Weekly](*|UNSUB|*) : [Change email address](*|UPDATE_PROFILE|*) : [Read this issue on the Web](http://javascriptweekly.com/issues/352)

© Cooperpress Ltd. Fairfield Enterprise Centre, Lincoln Way, Louth, LN11 0LS, UK
