Weekend JavaScript Newsletter

Weekend JavaScript

Top JavaScript news and articles straight into your inbox every Friday. Everything you need to be successful in your career. From the new hot web frameworks to IoT and robotics.
639 have already joined.

ISSUE #159

Progressive Apps in Play Store, Typescript 3.3, React Hooks, and more


Hey guys 👋 Hope you don't mind a little redesign here. This is something I wanted to do in a long time, and I really like how it looks now. If you disagree, let me know.

IN THE NEWS

Google Play Store now open for Progressive Web Apps 😱 | Maximiliano Firtman

Chrome 72 for Android shipped the long-awaited Trusted Web Activity feature, which means we can now distribute PWAs in the Google Play Store! I played with the feature for a while, digging into the APIs and here you have a summary of what’s going on, what to expect and how to use it today.


Announcing TypeScript 3.3

TypeScript 3.3 is a smaller release than usual and contains no breaking changes, so it should be easy to upgrade if you’re on an older version. Let’s explore what’s new in 3.3!


JAVASCRIPT UPGRADE

Migrating To React Hooks

In this week's episode we're looking at the new React Hooks API and converting a class-based to a functional one by using useState and useEffect hooks. Subscribe here for more videos like this.


MODERN JAVASCRIPT

ECMAScript 2019: the final feature set

Note that since the TC39 process was instituted, the importance of ECMAScript versions has much decreased. What really matters now is what stage a proposed feature is in: Once it has reached stage 4, it can be used safely. But even then, you still have to check if your engines of choice support it.


Just so you know: Uncommonly used Array Methods

For those who are new here in this blog, this series talks about things that some of you might know or not. So now I’m going to introduce to you some rarely used Array Methods which the popular once are map, reduce and filter.


Data Structures with Iterable Protocol | Hitesh Kumar

Generator and Iterators remove the pain of iterating objects. For an object to be iterable, it just needs to comply with iteration protocols. This post provides a quick overview of Generators and Iterators/Iterables and explains how common data structures can be made iterable.


REACT

You don’t want to keep all of your eggs in one basket: building bundles per device | Nicolas Cisco

Nowadays it is normal to run into websites that have optimized versions for, among others, mobile and desktop experiences. Here i’ll explore some ways to achieve that.


VUE

Vuex made simple — getting started! | Mike Tasset

The goal this tutorial is to give you a basic understanding of state management using Vuex by creating a relatable example. By the end of this total I hope you have a better understanding of state management using Vuex!


GAMES

Let’s make this game with JavaScript | Davison Pro

I’ve been using JavaScript for some few years to develop Web and Mobile apps, and recently i have been developing an interest in making video games. In this article I will take you through making amazing games with JavaScript. Hopefully, it will be useful to somebody out there.


MISC

A Year (plus a little) on TC39 | Aki Rose

All the ES5 and ES6 features I’d been so excited about a few years ago had to weave their way through the TC39 committee process. Changes to the spec aren’t added at random by a browser engineer anxious to implement a feature in their next release, but go through an actual process with actual experts who know what they’re talking about.


LEARN FROM THE CODE

331 GitHub - fabiospampinato/notable: The markdown-based note-taking app that doesn't suck.

The markdown-based note-taking app that doesn't suck. - fabiospampinato/notable


57 GitHub - ispoljari/react-recipe-builder-app: With this app the user can take a picture of the food ingredients available at home, and based on that get a list of recommended recipes.

With this app the user can take a picture of the food ingredients available at home, and based on that get a list of recommended recipes. - ispoljari/react-recipe-builder-app


WORKFLOW AND TOOLS

14 How to write a plugin for Prettier – Franco Victorio – Medium | Franco Victorio

In this post I will show you how to build a very simple plugin for Prettier. You will learn how to structure, test and, of course, write a plugin. I’m far from being an expert on this, but I learned…