---
title: "#376: This week's JavaScript news smoosh-up"
publication: "JavaScript Weekly"
issue: 376
published_at: "2018-03-09"
canonical_url: "https://javascriptweekly.com/issues/376"
---

Loading 3rd party JavaScript properly and going beyond React 16       

#376 — March 9, 2018 

[Read on the Web](http://javascriptweekly.com/issues/376)   

JavaScript Weekly    

**Could Array.prototype.flatten Become 'smoosh'?** 

This week, TC39 member Michael Ficarra [suggested renaming the `flatten` method to `smoosh`](https://github.com/tc39/proposal-flatMap/pull/56) to avoid breaking sites using MooTools' incompatible `flatten` method. The dislike for 'smoosh' [went viral](https://twitter.com/search?q=smoosh&src=typd) and people rapidly suggested alternatives like `squash`, `flat` and `chain`, while André Staltz started [a campaign to ‘prevent smoosh’](https://github.com/staltz/prevent-smoosh)! 

The current state of play is the TC39 committee (who work on the standardization of ECMAScript and [are actually really nice](https://twitter.com/maggiepint/status/971801704801886209)) are [keeping their options (and dialogue) open](https://github.com/tc39/proposal-flatMap/pull/56#issuecomment-371418649) while Brian Terlson reminds us _"TC39's active GitHub users are not always representative of the entire committee."_     

[How I Built a Super Fast JS Framework](https://medium.com/@marcisbee/how-i-built-super-fast-js-framework-faster-than-react-ea99f0d03150) — The creator of [Radi.js](https://radi.js.org/), a new tiny front-end library, shares _why_ he’s created it when there are already tons of front-end libraries around — performance. 

Mārcis Bergmanis   [![\](https://copm.s3.amazonaws.com/d112bee0.png)](https://www.grapecity.com/en/javascript-solutions?utm_source=JavaScriptWeekly&utm_medium=Newsletter&utm_campaign=Wijmo_03-18) 

[Power Your Apps with Angular UI Components and Spreadsheets](https://www.grapecity.com/en/javascript-solutions?utm_source=JavaScriptWeekly&utm_medium=Newsletter&utm_campaign=Wijmo_03-18) — Build complete enterprise web applications with GrapeCity’s dependency-free, Angular JavaScript solutions. Includes Spread’s full-featured Excel-like spreadsheets and Wijmo’s collection of IntelliSense-enabled grids, charts, and input controls. 

GrapeCity JavaScript Solutions sponsor   

[Loading Third-Party JavaScript](https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/loading-third-party-javascript/) — A jam-packed article from Google on how to find and fix issues related to loading third-party JS. How do you load third-party scripts efficiently? Learn it all here. 

Addy Osmani and Arthur Evans   

[Beyond React 16: Time Slicing and Suspense API](https://auth0.com/blog/time-slice-suspense-react16/) — Last week Dan Abramov gave his [‘Beyond React 16’ talk](https://reactjs.org/blog/2018/03/01/sneak-peek-beyond-react-16.html) showing off ideas coming to React in the future, which are reflected upon here. 

Prosper Otemuyiwa   

[Node v8.10.0 (LTS) Released](https://nodejs.org/en/blog/release/v8.10.0/) — A significant LTS release for production systems with updates to V8, libuv, npm, Unicode and OpenSSL support. [9.8 is out too.](https://nodejs.org/en/blog/release/v9.8.0/) Also, remember [we have Node Weekly](https://nodeweekly.com/) for each week’s Node news :-) 

Gibson Fahnestock   

[Let’s Build a Custom Vue Router](https://css-tricks.com/build-a-custom-vue-router/) — A thorough walkthrough of building a custom client-side router for Vue when the official one doesn’t quite meet requirements. 

Hassan Djirdeh  

Jobs  

[Lead React/Redux Engineer - Remote, SF, or Halifax, Canada](https://jobs.careerbeacon.com/details/lead-frontend-engineer-reactredux/951059) — We’re an ambitious startup seeking an experienced front-end engineer to bring our React architecture forward. 

Manifold   

[Frontend Engineer for Leading Open Source Company](https://app.jobvite.com/j?cj=o6SI5fwv&s=Javascript_Weekly) — Love coding web apps & building reusable high-performance UI components? Help define open source web app UI for large-scale enterprises. 

Liferay, Inc.   

[Find a Job You're Passionate About](https://www.vettery.com/tech?utm_medium=cooper-javascriptweekly&utm_campaign=ad-9315&utm_source=newsletter&utm_content=grouped&utm_term=tech) — Vettery connects you directly to hiring managers at over 4,000 top companies. Make a profile today and land your dream job. 

Vettery  

Tutorials  

[Building a Serverless Real-Time Chat App with AWS AppSync](https://aws.amazon.com/blogs/mobile/building-a-serverless-real-time-chat-application-with-aws-appsync/) — AppSync is AWS’s fully-managed GraphQL service and interacting with it from JavaScript is pretty straightforward. 

Adrian Hall and Ed Lima   

[What’s New in ES2018?](https://slidr.io/mathiasbynens/what-s-new-in-es2018#1) — Lots of code examples in this slidedeck. 

Benedikt Meurer and Mathias Bynens slidedeck   

[10 Tips for JS Debugging Like a Pro at the Console](https://medium.com/appsflyer/10-tips-for-javascript-debugging-like-a-pro-with-console-7140027eb5f6) — [Recommended by Sarah Drasner](https://twitter.com/sarah_edo/status/971728129952768000) this week. 

Yotam Kadishay   

[Preserve Build Integrity & Prevent Problems with Deterministic Builds](https://circleci.com/blog/preserve-build-integrity-prevent-problems-deterministic-builds/?utm_source=cooperpress&utm_medium=newsletter&utm_campaign=march18&utm_content=javascript-weekly) — The most common thing a customer will say in a support ticket is that their builds are suddenly failing even though “nothing has changed” on their end. This is almost never true. 

CircleCI sponsor   

[The JavaScript Learning Landscape in 2018](https://css-tricks.com/javascript-learning-landscape-2018/) — Books, podcasts, etc. 

Jason Rodriguez  

🎬 Videos, Screencasts and Talks  

▶[The Fundamentals of Testing Angular Components](https://www.youtube.com/watch?v=KVjaVHZG32w) 

Jesse Palmer   

▶[Evan You's 'State of Vue.js 2018' Keynote](https://www.youtube.com/watch?v=TRJMT9yjONQ) 

Vue.js Amsterdam Conference  

🔧 Code and Tools  

[SlimerJS: Script a Headless Firefox Browser from JavaScript](https://slimerjs.org/) 

Laurent Jouanneau   

[Instantly Seeing the Results of Your Code While You Are Writing It](https://quokkajs.com/?utm_source=cooperpress&utm_medium=email&utm_content=javascriptweekly&utm_name=javascriptweekly) 

Wallaby.js sponsor   

[Create Angular Libraries in No Time with 'Schematics'](https://netbasal.com/create-angular-libraries-in-no-time-using-schematics-513cb1e08a5e) 

Netanel Basal   

[Real-Time Error Monitoring, Alerting, and Analytics for JavaScript 🚀](https://rollbar.com/error-tracking/javascript/?utm_source=jsweekly&utm_campaign=nl_sponsorship&utm_medium=email-nl) — Report JS errors to Rollbar with full stack trace and diagnostic data. 

ROLLBAR sponsor   

[DoneJS 2.0 Released: A Framework for High-Perf Realtime Webapps](https://www.bitovi.com/blog/donejs-2.0) 

Matthew Phillips   

[TinyState: A Tiny, Powerful State Management Library for Angular](https://github.com/SebastianM/tinystate) 

Sebastian Holstein   

[Awaity.js: Functional, Lightweight Alternative to Bluebird](https://github.com/asfktz/Awaity.js) — Built with async/await in mind. 

Asaf Katz   

[OpenPGPjs 3.0: An Open Source OpenPGP Library](https://protonmail.com/blog/openpgpjs-3-release/) 

ProtonMail   

[Vue Tour: Simple, Customizable 'Guided Tour' Plugin for Vue](https://github.com/pulsardev/vue-tour) 

Pulsar   

[Workly: Simply Move a Function or Class to a Worker Thread](https://github.com/pshihn/workly) 

Preet Shihn  

Events  

[AmsterdamJS Conference 2018 (May 31-June 1)](https://amsterdamjs.com/)   

[KnowJS 2018: An Online Workshop with 4 JS Experts](https://certifiedfreshevents.com/events/knowjs-2018/) — Takes place April 13. Costs money but the teachers are great. 

Certified Fresh Events  

Seen on Twitter  

[![Let's make everything compile-to-2017-level-JavaScript\](https://res.cloudinary.com/cpress/image/upload/w_800/pefgp1wksj6hxhefkdqy.jpg)](https://twitter.com/raganwald/status/972136430641319936)        

A **[Cooperpress](https://cooperpress.com/)** publication. 

[Change your email address](*|UPDATE_PROFILE|*) or[Stop getting this newsletter](*|UNSUB|*) 

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