Hello and welcome to ‘This Week in JavaScript’ — another curated collection of links relating to what’s new and exciting in the world of JavaScript. The complete list is tagged jsweekly. (Don’t forget to check out our weekly .NET and front end roundups too!)
And now for this week’s finds …
Getting started
- Totally Tooling Tips: Web Page Test - Addy Osmani and Matt Gaunt offer a few suggestions on getting the best out of WebPageTest.
- The Software Developer’s Library: A Treasure Trove of Books for People Who Love Code - A treasure trove of books for people who love code. Curated by Eric Elliott.
- A Guide to Proper Error Handling in JavaScript - If you believe Murphyʼs law, anything that can go wrong, will go wrong! In this article Camilo Reyes explores error handling in JavaScript.
- Understanding the prototype property in JavaScript - You’re having difficulty understanding the prototype property in JavaScript. You know it has got to do with object-oriented programming (OOP) and object inheritance, but you’re not sure of the mechanics of how it works.
Learning more
- JavaScript Callbacks Explained Using Minions - Cute pop culture characters are here to make it super simple.
- Optimizing JavaScript Performance With Firefox Dev Tools - The Performance tool in Firefox Developer Tools offers a great way to diagnose slow-running JavaScript and provides insight into the general responsiveness and layout performance of your web site.
- Understanding JavaScript Modules: Bundling & Transpiling - Most folks consider modules, dependency management and dynamic loading a basic requirement for any modern programming language. Modules are used extensively in Node but our focus here will be on how we can use modules inside of the browser.
- Technical Debt: Rescuing Legacy Code through Refactoring - No matter how awful a muddy legacy code mess your boss has bravely volunteered for you to deal with, there is a way out of the mire.
Libraries
- Marginotes - Quick, cool margin notes with jQuery.
- Bricklayer - Lightweight cascading grid layout library.
- Build a Peer-to-Peer File Sharing Component in React & PeerJS - In this tutorial we’re going to build a file sharing app with PeerJS and React.
- Authentication in React Native with Firebase - React Native is one of the most popular choices for creating cross-platform mobile apps with JavaScript and React.
- Getting Started with React and JSX - This article, targeted towards beginners, covers the basics of React and JSX syntax.
- JavaScript design_patterns - A cheatsheet for JavaScript design patterns, using jQuery as examples.
ES6
- Tracking unhandled rejected Promises - In Promise-based asynchronous code, rejections are used for error handling. One risk is that rejections may get lost, leading to silent failures.
- Trees of Promises in ES6 - This blog post shows how to handle trees of ES6 Promises, via an example where the contents of a directory are listed asynchronously.
- WhitestormJS - Web game development made easy.
- Private Data in Javascript - Adam Bourg talks about JavaScript closures.
Frameworks
- Scripty - Because no one should be shell-scripting inside a JSON file.
- Paging Through The File List Of An AWS S3 Bucket, w/ Node - Derek Bailey recently wanted to add a sub-folder to AWS S3… but the code that reads the file list suddenly didn’t find the folders and files that he wanted.
- 5 Rookie Mistakes to Avoid with Angular 2 - Here’s a compilation of common beginner mistakes to avoid when you’re writing your first application.
- npm is the Beating Heart of the JavaScript Ecosystem - Did you npm install today? I know I did.
Everything Else
- Visual Studio Code 1.0! - What started as an experiment to build a production quality editor using modern web technologies has blossomed into a new kind of cross-platform development tool, one that focuses on core developer productivity by centring the product on rich code editing and debugging experiences.
- Ethical Web Development - By making choices that are ethical and user-centered, we create a better web for everyone.
- How to implement SRI in your build process - Imagine getting a call from a customer who says your website is serving malware. Your heart drops, you start sweating, and then the tweets start pouring in. Something is up.
- Welcoming JSCS to ESLint - See details about how they’ll move forward as a single team and their plans for both JSCS and ESLint.
- Why JavaScript development is crazy - Web development is fun! Javascript is … daunting.
For more links like this and to keep up-to-date with the latest goings on in JS land, you can follow SitePoint’s JavaScript channel on Twitter.
Please PM us if you have anything of interest for the next issue or if there is anything you would like to see featured. Paul and Chris of Arabia.