Weekend JavaScript



ISSUE #114

JavaScript Got Better, Promise leaks memory, key React decisions, and more


SPONSORED

![Honeypot

Hey Developers! Honeypot is Europes largest developer-focused Job Platform. Have companies apply directly to you with upfront tech-stack and salary expectations. Check us out at: [https://goo.gl/dMqBkd](https://goo.gl/dMqBkd)


MODERN JAVASCRIPT

JavaScript got better while I wasn’t looking | fuzzy notepad

I have complicated feelings about JavaScript. I don’t hate it… but I certainly don’t enjoy it, either. It has some pretty neat ideas, like prototypical inheritance and “everything is a value”, but it buries them under a pile of annoying quirks and a woefully inadequate standard library...


Arrow Functions in JavaScript | Tyler McGinnis

Arrow functions are the new fundamental building blocks of building modern web applications. In this post/video, you'll learn how Arrow Functions both make your code more concise while also making the 'this' keyword more manageable. You'll also learn about implicit returns, logging with arrow functions, and combining implicit returns with objects.


JavaScript's Promise Leaks Memory | Alexandru Nedelcu

JavaScript's Promise leaks memory in recursive loops and what you can do about it.


REACT

GitHub - React-Sight/React-Sight

Visualization tool for React, with support for Fiber, Router (v4), and Redux


8 Key React Component Decisions | Cory House, freeCodeCamp

Standardize your React development with these key decisions


VUE

Build a shopping cart with Vue.js and Element UI (no Vuex) | Connor Leech

In this tutorial we build a shopping cart with straight up Vue 2 (no Vuex) and style it using the Element UI vue component toolkit.


TYPESCRIPT

Announcing TypeScript 2.6 RC | TypeScript

With TypeScript 2.6, we’re introducing a new --strict mode flag: --strictFunctionTypes. TypeScript has traditionally compared parameters in a bivariant manner. There are a number of reasons for this – modeling event handlers in the DOM, allowing a simpler model for working with arrays, and more.


TypeORM - Amazing ORM for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

Its goal to always support latest JavaScript features and provide features that help you to develop any kind of applications that use databases - from small applications with a few tables to large scale enterprise applications with multiple databases.


Get the advantages of TypeScript without transpiling | RYAN PAUL, Phaultlines

Microsoft’s TypeScript programming language brings many of the advantages of static typing to JavaScript. Although it doesn’t enforce types at runtime, it enables richer static analysis, encourages more safety, and opens the door for better IDE integration.