ISSUE #183

ES2019 Tips And Tricks, Two-Sum Question, Metaprogramming


MODERN JAVASCRIPT

All the New ES2019 Tips and Tricks

he ECMAScript standard has been updated yet again with the addition of new features in ES2019. Now officially available in node, Chrome, Firefox, and Safari you can also use Babel to compile these features to a different version of JavaScript if you need to support an older browser. Let’s look at what’s new!

Exploring the Two-Sum Interview Question in JavaScript | Nick Scialli

The two-sum interview question is interesting to explore because it has both a brute force logical, solution, as well as a more efficient solution that can demonstrate strong CS fundamentals.

Metaprogramming in JavaScript with jscodeshift - Onfido Tech

Metaprogramming is a powerful but under-appreciated tool. Even though many widely used development tools use it under the hood, interest in metaprogramming is steadily declining (at least according to Google Trends data)

JAVASCRIPT UPGRADE

⭐ JavaScript Upgrade

This week we are going to finally tap into server-side. We'll created a simple API server layer using KoaJS from the famouse TJ Holowaychuk. The episode is out tomorrow. BTW, until the end of the week you can subscribe with this link with a -67% discount.

REACT

React v16.9.0 and the Roadmap Update – React Blog

Today we are releasing React 16.9. It contains several new features, bugfixes, and new deprecation warnings to help prepare for a future major release.

TUTORIALS

Scrape a site with Node and Cheerio in 5 minutes - Dylan Sather - Medium | Dylan Sather

Website scraping is a common problem with a common toolset. Two approaches dominate the web today The first approach — driving a real browser programmatically — is typical for projects where you’re running automated website tests, or capturing screenshots of your site. The second approach has…

NODE

Getting started with Node.js: Introduction

A beginner's guide to writing Node.js applications

Functional Error Handling with Express.js and DDD

How to expressively represent (database, validation and unexpected) errors as domain concepts using functional programming concepts and how to hook those errors up to our Express.js base controller.

USEFUL

codeclown/yea

Immutable-style AJAX library for the browser. Contribute to codeclown/yea development by creating an account on GitHub.

dennis47528/console-badge

🎨 Create simple badges in the browser console. Contribute to dennis47528/console-badge development by creating an account on GitHub.

Moon | Kabir Shah

The minimal & fast library for functional user interfaces.

GRAPHQL

What is GraphQL: History, Components, and Ecosystem | Brenda Clark

Originally built by Facebook, GraphQL is a query language for APIs that lets developers choose the types of requests they want to make and receive the information they require in a single request.

TESTING

GitHub - goldbergyoni/javascript-testing-best-practices

📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (August 2019) - goldbergyoni/javascript-testing-best-practices

Testing react apps with jest and enzyme

We are going to follow TDD ( Test Driven Development ) approach in this tutorial. i.e write the tests first (which will fail for the first time) and then write the code to pass the test.

VS CODE

Visual Studio Code July 2019

See what is new in the Visual Studio Code July 2019 Release (1.37)

Setting up JavaScript Debugging in Visual Studio Code | Matthew MacDonald

I’ve written before about how JavaScript is a surprisingly solid first language for beginners. However, there’s a catch. If you want to spend as much time as possible learning, and as little time as…

The Best VS Code Extension List for Full Stack Developers - Jon R. Corbin

An entire compilation of every best vs code extension for full stack developers. This comprehensive list contains every great extension. Check it out!

GITHUB ACTIONS

Github Actions for web apps | Luke Boyle

Github actions is now in open beta (you can opt in here: https://github.com/features/actions) and it enables you to set up containerised builds, testing, deployments in response to many github events (push, pull requests, tags, schedule). In this post I'll be showing you how to set up to build and release a single-page app running React.

Weekend JavaScript

Hey! I'm Ianis. And this is a curated list of JavaScript news and articles (sending every Friday). No spam. Just fresh write-ups on the language features, frameworks, testing practices and beyond.
1078 have already subscribed.