---
title: "TypeScript 2.0 Released, Using ESLint, and Building a Tetris Game"
publication: "JavaScript Weekly"
issue: 302
published_at: "2016-09-22"
canonical_url: "https://javascriptweekly.com/issues/302"
---

TypeScript 2.0 Released, Using ESLint, and Building a Tetris Game

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

JavaScript WeeklyIssue 302 — September 22, 2016[TypeScript 2.0 Final Released](https://blogs.msdn.microsoft.com/typescript/2016/09/22/announcing-typescript-2-0/)The typed JavaScript superset takes a new leap forward with even closer ECMAScript spec alignment. If you need some convincing, Dylan Schiemann shares [9 pieces of TypeScript 2.0 Awesomeness](https://www.sitepen.com/blog/2016/09/01/typescript-2-0-awesomeness/). Microsoft 
[Testing Components in Angular 2 with Jasmine](https://semaphoreci.com/community/tutorials/testing-components-in-angular-2-with-jasmine)Components are a core part of Angular 2 around which most apps will be built. Learn what they are, how they work, and how to test them properly. Matt Fehskens 
[Up and Running with ESLint — the Pluggable JS Linter](https://www.sitepoint.com/up-and-running-with-eslint-the-pluggable-javascript-linter/)Pavels Jelisejevs introduces ESLint, a highly configurable (and popular) tool that analyses your code and highlights (or can even fix) bugs or style issues it finds. Sitepoint 
[![PubNub\](https://copm.s3.amazonaws.com/efc85a63.png)](https://www.pubnub.com/developers/webinars/2016-08-17-android-dev-training-how-to-build-a-full-featured-chat-app/?utm_source-OnlineAdvertisement&utm_medium=Javascript-Weekly&utm_campaign=OA-CY16-Q3-JavascriptWeekly-Andoid-OD-Webinar)[Java/Android Dev Training: How to Build a Fully Featured Chat App](https://www.pubnub.com/developers/webinars/2016-08-17-android-dev-training-how-to-build-a-full-featured-chat-app/?utm_source-OnlineAdvertisement&utm_medium=Javascript-Weekly&utm_campaign=OA-CY16-Q3-JavascriptWeekly-Andoid-OD-Webinar)Learn to build your own Java/Android chat app with realtime messages and more. [Watch Now](https://www.pubnub.com/developers/webinars/2016-08-17-android-dev-training-how-to-build-a-full-featured-chat-app/?utm_source-OnlineAdvertisement&utm_medium=Javascript-Weekly&utm_campaign=OA-CY16-Q3-JavascriptWeekly-Andoid-OD-Webinar). PubNubSponsor
[Use Easy-Fix to Run Integration Tests Like Unit Tests](https://medium.com/walmartlabs/use-easy-fix-to-run-integration-tests-like-unit-tests-834288ec446d)Easy-Fix is a new module from Walmart Labs that helps integration tests capture and replay test data allowing tests to run in live, capture or replay modes. Dan Rathbone 
[We Have Seriously Underestimated Angular](http://developer.telerik.com/featured/you-have-seriously-underestimated-angular/)Despite all the hype and noise, Burke Holland says that Angular is still the dominant JavaScript framework and Angular 2 will be gasoline on the fire. Burke Holland 
[GraphicsJS: A JavaScript Browser Graphics Library](http://www.graphicsjs.org/)Features an intuitive Canvas-esque API, is based on SVG/VML technology, and works right back to IE6 and Chrome 1. AnyChart 
[Building a Game with Three.js, React and WebGL](https://www.sitepoint.com/building-a-game-reactjs-and-webgl/)A look at how to build 3D games declaratively using Three.js, React and WebGL. Andrew Rey 
[Writing a Tetris Game From Scratch [video\]](https://www.youtube.com/watch?v=H2aW5V46khA)How to draw on a canvas, rotating a matrix, rudimentary requestAnimationFrame listening and handling keyboard input are covered in this fun 51 minute tutorial. Meth Meth Method 
[Building React from Scratch](https://www.youtube.com/watch?v=_MAD4Oly9yg)One way to understand a system is to build something similar of your own. In just 30 minutes, Paul O Shannessy does just that - rebuilding a _very_ simple React-a-like. Paul O Shannessy 


Jobs

- [Javascript Developer at X-Team (Remote)](http://x-team.com/javascript-developer?utm_source=newsletter&utm_medium=email&utm_campaign=jsweekly-september)We're looking for a developer with an extensive knowledge of Javascript and skills in different frameworks and libraries. We are 100% remote and we provide the funding needed to help you achieve your goals and grow. X-Team
- [Senior JavaScript Engineer - Glint (Bay Area)](https://boards.greenhouse.io/thesourcery/jobs/251072?t=q20jeg#.V9rP65MrLq0)Want to join a fast-growing startup? Glint are looking for a Senior JavaScript engineer who is ready to be a hands-on integral member of our engineering team and empower brands like eBay & FICO. Glint
- [Stop wasting time - know what you'll earn before the interview](https://hired.com/?utm_source=newsletters&utm_medium=petercooperpress&utm_campaign=q3-16-javascriptweekly)On Hired, sign up in 10 minutes and get offers from top companies like GitHub, Uber, & Stripe. Engineers get an average of 5 offers on the platform in 1 week. Hired.com

In Brief

[React Router v4 Takes Radically Different Declarative Approach](https://github.com/ReactTraining/react-router/blob/v4/README.md#v4-faq) news 
A huge overhaul.

[The Progress of Node.js A Year After Node and io.js Merged](https://medium.com/@nodejs/the-progress-of-node-js-a-year-post-node-js-and-io-js-merge-and-where-the-technology-is-going-f168ce9ec8ee) news node
Node.js Foundation

[Using Lambdas with Bluebird.Map](https://gorillalogic.com/blog/using-lambdas-with-bluebird-map/) tutorial
Pete Lyons

[Code Size Reduction Tricks for asm.js](http://floooh.github.io/2016/08/27/asmjs-diet.html) tutorial
Andre Weissflog

[An Introduction to Generators and Channels in JavaScript](https://medium.com/javascript-inside/generators-and-channels-in-javascript-594f2cf9c16e) tutorial
A. Sharif

[Data Flow in Vue and Vuex](https://benjaminlistwon.com/blog/data-flow-in-vue-and-vuex/) tutorial
Benjamin Listwon

[Building a Hacker News Client with Angular 2 CLI, RxJS and Webpack](http://houssein.me/angular2-hacker-news) tutorial 
A thorough tutorial.
Houssein Djirdeh

[4 Tips for Building Cross-Platform Electron Apps](https://blog.avocode.com/blog/4-must-know-tips-for-building-cross-platform-electron-apps) tutorial node
Avocode

[Top-Level 'await' Is A Footgun](https://gist.github.com/Rich-Harris/0b6f317657f5167663b493c722647221) opinion 
_“Top-level `await`, as far as I can tell, is a mistake and it should not become part of the language.”_
Rich Harris

[Why Vue (Not React) Is The New jQuery](http://anyonecanlearntocode.com/blog_posts/why-vue-not-react-is-the-new-jquery) opinion
Peter Jang

[What's Coming in Vue.js 2.0](https://simplecast.com/s/8c5fe963) podcast
Full Stack Radio

[WebAssembly: Birth of A Virtual ISA](https://www.youtube.com/watch?v=vmzz17JGPHI) video 
A great intro to what WebAssembly is and isn’t and its ecosystem.
Ben Smith

[Find and Fix Node.js Errors Faster (and have fun doing it)](https://rollbar.com/?utm_source=javascriptweekly&utm_medium=email-nl&utm_term=javascriptweekly_9_22&utm_campaign=nl_sponsorship) tools 
Quickly pinpoint what’s broken and why. Get the context and insights to defeat all Node errors.
ROLLBARSponsor

[PM2 v2 Released: The Node.js Process Manager](https://keymetrics.io/2016/08/24/pm2-v2-released/) tools
Keymetrics

[fetch-reject: Simple Wrapper for 'fetch' Which Rejects on HTTP Error](https://github.com/matankb/fetch-reject) code
Matan Kotler-Berkowitz

[promise-sequential: Like Promise.all(), But Sequentially](https://github.com/russiann/promise-sequential) code
Russian Rebouças

[Matter.js: A 2D Rigid Body Physics Engine for the Web](https://github.com/liabru/matter-js) code
Liam Brummitt

[Lory: Touch-Enabled, Minimalistic Slider Written in Vanilla JS](http://meandmax.github.io/lory/) code
Maximilian Heinz

[React Routify: A Routing Library for React Applications](http://rwhitmire.com/react-routify/) code
Ryan Whitmire

[Try RASON™ – And Start Using Advance Analytics in Your Web/Mobile Apps](https://rason.com/) tools 
Solve powerful optimization & simulation models in your app easily with RASON™. Use a high-level modeling language embedded in JSON, & a simple, Azure-backed REST API.
RASON.com by Frontline Systems IncSponsor

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

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