Weekend JavaScript



ISSUE #128

Build a blockchain in NodeJS, Eloquent JavaScript got a new edition, and more


TOP STORIES

Chiccocoin: Learn what is a Blockchain by creating one in NodeJS | Riccardo Canella

Blockchains are secure by design and are an example of a distributed computing system with high Byzantine fault tolerance. This makes blockchains potentially suitable for the recording of events, medical records, and other records management activities, such as identity management, transaction processing or voting.


Eloquent JavaScript: Third Edition

This is a book about JavaScript, programming, and the wonders of the digital. You can read it online here, or get your own paperback copy of the second edition.


Rollup now has code-splitting! And we need your help | Rich Harris

Gather round for some news that’s really going to shake your tree: as of version 0.55, Rollup, the JavaScript module bundler, finally has code-splitting! This has been the most popular…


Why would you NOT use TypeScript? | Jonathan Creamer

In a world where JavaScript is arguably the most popular tool for building software these days, it seems like it’s everywhere now. With Node.js, it’s on the backend, with Electron it’s native on your machine, with React Native, it’s native on your phone. There’s no doubt that JavaScript is nothing but at least pervasive across so many ecosystems.


MODERN JAVASCRIPT

Async Await Promise All Array Destructuring | Dale Jefferson

I’m a big fan of the new Async/Await syntax as it makes asynchronous code easier to read, but there is still a use for our old friend…


It depends. The art of dependency management in Javascript | Michal Ostruszka

This is Part 1 of a series of blog posts I entitled “It depends. Harden your Javascript deployment process”, where I’d like to shed some light on how one can greatly minimize the risk of Javascript…


JavaScript : Closures & Environment

Regardless of your experience level with JavaScript, sooner or later you will encounter closures. I vividly remember the day I wrapped my head around closures. It opened me up to a ton of concepts like partial application, currying etc. In this blog post, I am going to jot down my


A toddlers guide to memory leaks in Javascript | Kushan Joshi

In this article I will take a very simplistic approach in understanding memory leaks and I will also attempt to diagnose them. In todays world of abundant memory, we seldom worry about memory…


ESNext: JavaScript “Nullish Coalescing Operator” | Bram.us

One of my favorite ECMAScript Proposals is the “Optional Chaining Operator”. Another proposal that forms great duo with it is the “Nullish Coalescing Operator” (sometimes also referred to as “Nullary Coalescing Operator”).


VUE

Vue on 2018 — Interview with Evan You, author of the Vue.js framework

No one can deny it: Vue.js is booming. The Progressive JavaScript framework is making big gains with a growing community of users & a large amount of developers wanting to learn how to use it. Will…


REACT

Building a Tree Navigation Component in React – Kapost Engineering

Dealing with large, complex sets of metadata can be quite challenging for front end applications, both from a UI and performance perspective. At Kapost, we help our customers manage complex sets of field metadata for organizing their content.


Why React? An AngularJS Dev’s Point of View – Evan Williams – Medium

I believe the 4 points above make it relatively clear which framework I’m excited about. React does almost the opposite of each point. One thing that I have come to love about React is that, instead…


Evolving Patterns in React – freeCodeCamp

Let’s take a closer look at some of the patterns that are emerging in the React ecosystem. These patterns improve readability, code clarity, and push your code towards composition and reusability. I…


Developing Apps With Styled-Components – Getty/IO — Software Development for Disruptive Companies

At Getty/IO we use and love styled-components. You may ask me, why? Isn’t just another CSS-in-JS lib? Is it really a good idea to write CSS-in-JS? What about CSS reusability with classes? Those are…


OTHER FRAMEWORKS

Read Hyperapp source code | Beulah Walter

If you haven’t heard about Hyperapp, then let me be the one to tell you about it. Hyperapp is a modern JavaScript library for building fast and feature-rich applications in the browser. It’s the smallest out there (1.3 KB), it’s simple, and fun to use.


Next.js 5 improves TypeScript support

Next.js is a Universal JavaScript Framework that has been around late 2016. During this time the technology has attracted a large user base, with significant production deployments.


BUILDING SOMETHING FUND

Simple Javascript Twitter Bot to greet new Followers with a friendly Message

If you are active on twitter, chances are that you noticed some people to instantly send you a greeting message via a bot once you follow them.