Weekend JavaScript Newsletter
Top JavaScript news and articles straight into your inbox every Friday. Everything you need to be successful in your career. From the new hot frameworks to IoT and robotics.

ISSUE #148

Node and React new releases, pattern matching, functional JS, and more


NEW RELEASES

Node v11.0.0 Released

Node.js 11.0.0 is here! This is the newest Node.js Current Release line with a focus primarily on improving internals, performance, and an update to V8 7.0.


React v16.6.0: lazy, memo and contextType | React Blog

Today we’re releasing React 16.6 with a few new convenient features. A form of PureComponent/shouldComponentUpdate for function components, a way to do code splitting using Suspense and an easier way to consume Context from class components.


Introducing GitHub Actions

It’s a common situation: you create a site and it’s ready to go. It’s all on GitHub. But you’re not really done. You need to set up deployment. You need to set up a process that runs your tests for you and you're not manually running commands all the time. Ideally, every time you push to master, everything runs for you: the tests, the deployment... all in one place.


MODERN JAVASCRIPT

Pattern Matching and Recursion | Ragan Wald

A popular programming “problem” is to determine whether a string of parentheses is “balanced:”


Functional JS with ES6  |  Casey Morris

In my last Functional JS article, we went over recursive patterns that allow you to operate/iterate over array values. This time, we’re going to get a bit more abstract to hopefully explain some of…


5 Tips to Write Better Conditionals in JavaScript | Jecelyn Yeen

When working with JavaScript, we deal a lot with conditionals, here are the 5 tips for you to write better / cleaner conditionals.


Are Web Components a thing? | Maurizio Mangione

Talking to people that are not really into Web Components I found out that they feel like Web Components are not going anywhere. This probably because there was a huge hype around them since, let’s say, a year ago but not that much over the past months.


JS: Promises, async/await, and functional programming. | Aidan Breen

Unlike a lot of the internet, I happen to enjoy writing Javascript. I’m also a fan of functional programming; from a practical point of view, and from an aesthetic point of view. In the art of code…


GitHub - frontarm/async-javascript-cheatsheet

Cheatsheet for promises and async/await.


REACT

Introducing Hooks

Hooks are a new feature proposal that lets you use state and other React features without writing a class. They’re currently in React v16.7.0-alpha and being discussed in an open RFC.


React without "this"

Is there an alternative to using classes for stateful components? (Yes, there is)


GRAPHQL

GraphQL interfaces and unions - how to design GraphQL schema

In the GraphQL specification we are able to use two abstract types - interfaces and unions. In this article we will go through the use cases for abstract types and how we can implement them in our GraphQL schema.


WORKFLOW

Top 10 VS Code Shortcuts Every Developer Should Know

Hey folks, I am here to discuss with you the power of shortcuts and give you my personal top ten shortcuts for VS Code Editor that I believe every developer should know.


VIDEO

Let's make a synth (..in chrome..)

Polyhack 13 - Thursday, October 4, 2018 Alex Wilmer (https://github.com/alex-wilmer) - Let's make a synth (..in chrome..)


MISC

GitHub - thecreazy/siteaudit: Site audit for your site from terminal

Site audit for your site from terminal. Contribute to thecreazy/siteaudit development by creating an account on GitHub.