---
title: "#331: Arrow functions, popular JS patterns, and React VR"
publication: "JavaScript Weekly"
issue: 331
published_at: "2017-04-21"
canonical_url: "https://javascriptweekly.com/issues/331"
---

#331: Arrow functions, popular JS patterns, and React VR

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

JavaScript WeeklyIssue 331 — April 21, 2017[It’s Time to Embrace Arrow Functions](https://medium.com/javascript-scene/familiarity-bias-is-holding-you-back-its-time-to-embrace-arrow-functions-3d37e1a9bb75)Eric felt some pushback against the use of ES6’s arrow functions recently. Here he explains how they’re useful and why you should become very comfortable with them. Eric Elliott 
[JavaScript Patterns for 2017 [Video\]](https://www.youtube.com/watch?v=hO7mzO83N1Q)A 50 minute roundup of common, JavaScript-specific techniques like using modules, webpack, ES6 syntax, classes, async/await and more. Scott Allen 
[Facebook Releases React VR for Building Virtual Reality Experiences](https://code.facebook.com/posts/215238872297197/building-virtual-reality-experiences-on-the-web-with-react-vr/)React VR lets anyone with an understanding of JavaScript rapidly build and deploy VR experiences using standard web tools. [GitHub repo](https://github.com/facebook/react-vr). Facebook 
[![Bitmovin\](https://copm.s3.amazonaws.com/c59d9e3e.png)](https://bitmovin.com/bitmovin-html5-player-v7/?utm_source=cooperpress&utm_medium=newsletter&utm_campaign=javascript-weekly)[A Netflix like Live and VoD Streaming Experience in HTML5](https://bitmovin.com/bitmovin-html5-player-v7/?utm_source=cooperpress&utm_medium=newsletter&utm_campaign=javascript-weekly)An easy to integrate and versatile HTML5 based MPEG-DASH and HLS player for desktop, mobile, VR Headsets, Chromecast, AirPlay, AppleTV and SmartTVs. Including a WebGL based VR and 360 video component and a completely customizable HTML5/CSS UI. BitmovinSponsor
[Introducing NgxErrors: Declarative Form Errors for Angular](https://toddmotto.com/angular-ng-errors-form-validation)An open source project to bring better validation to Angular’s reactive forms. Here’s a look at how to use it, why Todd created it and the problems it aims to solve. Todd Motto 
[Choosing Between React and Angular: A Comparison](https://www.sitepoint.com/choosing-between-react-and-angular/)Should you pick Angular or React? Pavels Jelisjevs looks in detail at what both frameworks have to offer, and gives some practical advice on how to choose. Sitepoint 
[How to Build A Simple Math Expression Tokenizer](https://medium.freecodecamp.com/how-to-build-a-math-expression-tokenizer-using-javascript-3638d4e5fbe9)The basics of turning an expression like `89sin(60) + 4.4x/9` into its component parts for further processing. Shalvah Adebayo 
[Improved JS Performance, WebAssembly, and Shared Memory in Edge](https://blogs.windows.com/msedgedev/2017/04/20/improved-javascript-performance-webassembly-shared-memory/#VqF3xYmgsP2EeJf2.97)A look at some key new features in Microsoft’s Chakra JavaScript engine. Limin Zhu 


Jobs

- [(Senior) Front-End Developer at Backbase (Amsterdam)](http://careers.backbase.com/job/front-end-developer-2/?utm_source=javascriptweekly&utm_medium=email)Enjoy hands-on front-end development in a fast-paced environment? We're looking for engineers with Angular and Bootstrap experience. Backbase
- [Write code. Save lives. Axon is looking for front end talent.](https://www.axon.com/company/careers/openings#op-178810-sr-front-end-engineer-rms?utm_source=javascriptweekly&utm_medium=email)We’re building greenfield products that will make our communities fundamentally better. We love clean code, React, and great co-workers. Join us. Axon
- [Senior Software Engineers at Reaktor](https://www.reaktor.com/careers/senior-software-engineer/?utm_source=javascriptweekly&utm_campaign=2017)We’re on the look-out for the most talented software engineers to make sure our teams are filled with best in class individuals. Reaktor

In Brief

[Nordic.js (Sep 7-8 in Stockholm) Call for Proposals Open](http://cfp.nordicjs.com/) news

[JSConf Budapest (Sep 14-15) Call for Speakers Open](http://jsconfbp.com/call-for-speakers) news

[Facebook Announces React Fiber, A Rewrite of React's Internals](https://techcrunch.com/2017/04/18/facebook-announces-react-fiber-a-rewrite-of-its-react-framework/) news
TechCrunch

[Full-day Workshop: Using ES6 and React with Netflix's Brian Holt](https://forwardcourses.com/workshops/6) course
Forward CoursesSponsor

[You Need ES2017's Async Functions. Here's Why](https://derickbailey.com/2017/04/18/you-need-es7s-async-functions-heres-why/) tutorial
Derick Bailey

[A Look At Async Iterators and Generators](https://jakearchibald.com/2017/async-iterators-and-generators/) tutorial
Jake Archibald

[A JS Testing Tool Showdown: Sinon.js vs testdouble.js](https://www.sitepoint.com/javascript-testing-tool-showdown-sinon-js-vs-testdouble-js/) tutorial
SitePoint

[How Method Binding Is An Implicit Part Of Your API Contract](https://www.bennadel.com/blog/3254-method-binding-is-an-implicit-part-of-your-api-contract-whether-you-like-it-or-not.htm) tutorial
Ben Nadel

[Using ReactJS, ES6 & JSX to Build a UI (the rise of MERN)](https://www.mongodb.com/blog/post/the-modern-application-stack-part-5-using-reactjs-es6-and-jsx-to-build-a-ui-the-rise-of-mern?jmp=cpress&utm_campaign=WW_CP_newsletter_sponsorship_FY17Q2&utm_content=sponsored&utm_medium=display&utm_source=javascriptweekly) tutorial 
Part 5 of our Modern Application Stack series - Why ReactJS is driving the development of modern applications.
MONGODBSponsor

[CodeSandbox: An Online React Playground/Editor](https://codesandbox.io/) tools 
See [our React newsletter](https://react.statuscode.com/issues/33) for more like this.
Ives van Hoorne

[Tinytime ⏰: A Simple strftime-esque Time and Date Formatter](https://github.com/aweary/tinytime) code
Brandon Dail

[lodash-form-collector: A Form Collector Package Powered by Lodash](https://github.com/crapthings/lodash-form-collector) code

[Chroma.js: Library for Color Conversions and Color Scale Generation](https://github.com/gka/chroma.js) code
Gregor Aisch

[HR.js: A Tiny Library for Highlighting and Replacing Text in the DOM](https://mburakerman.github.io/hrjs/) code
Mehmet Burak Erman

[D3-Annotation: Easily Add Annotations to D3 Visualizations](http://d3-annotation.susielu.com/) code
Susie Lu

[Polished: A Toolset for Writing Styles in JS](https://polished.js.org/) code 
.. complete with Sass-style helper functions and mixins.
Glen Maddern and Maximilian Stoiber

[Simple Slider: A 1KB JavaScript Carousel](http://ruyadorno.github.io/simple-slider/) code 
An extremely lightweight carousel micro library. Demo on homepage.
Ruy Adorno

[React InstantSearch ⚡ Lightning Fast Search for Web and Native Apps](https://community.algolia.com/react-instantsearch/?utm_source=javascript-weekly&utm_medium=email&utm_campaign=react-is) tools 
Build instant search for your app in a few lines of code. UI widgets give you a great search out of the box.
AlgoliaSponsor

[vee-validate: A Simple Vue.js Input Validation Plugin](https://github.com/logaretm/vee-validate) code
Abdelrahman Awad

[Pandemonium: 10 Randomness-Related Functions](https://github.com/Yomguithereal/pandemonium) code 
Things like weighted choices, sampling, and shuffling.
Guillaume Plique

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/331)

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