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
- Quick Tip: What Are Factory Functions in JavaScript - Dan Prince looks at some idiomatic patterns for using factory functions to compose functions, objects and promises.
- A Beginner’s Guide To Progressive Web Apps - Progressive web apps could be the next big thing for the mobile web.
- Yes, You Should Learn Vanilla JavaScript Before Fancy JS Frameworks - Take enough time to understand the core principles of JavaScript before using shortcuts provided by JS frameworks and libraries.
- JavaScript Best Practices: Tips & Tricks to Level Up Your Code - Here are a few important JavaScript best practices you don’t want to learn it the hard way. Get ready to level to your code!
- Breaking or continuing loop in functional programming - In this tip we will see how to short circuit with
.some
and.every
.
Learning more
- The cost of small modules - Small modules can have a surprisingly high performance cost depending on your choice of bundler and module system.
- Consuming Websockets with Redux - Learn how to crowbar WebSockets into your Redux app.
- Better Engineering with Redux-Saga - Managing complex sequences of actions in your Redux app.
- Demystifying JS Engines - A list of resources about JavaScript engines.
- Prevent Bad Commits with husky - Husky builds precommit and other git hooks to run commands within your package.json before a commit is allowed.
- How To Clean Up Your JavaScript Build With Tree Shaking - What’s that, you ask? Simply put, it’s a way to clean up your bundling process by excluding code you’re not using.
- Building and Securing a Modern Backend API - Learn how to easily manage and secure your API endpoints with Auth0.
Libraries
- 10 Need-to-Know RxJS Functions with Examples - In this article, we’re going to take a look at what I consider to be the ten must-know functions from RxJS.
- What is React? - What is React? What is React to building web sites in 10 years? Why is it important? Why will similar techniques emerge? Remy Sharp asks the questions.
- Typr.js: Process fonts in JavaScript - Typr.js is a font processor for JavaScript. It’s light, small, and ultra fast.
ES6
- A Live Lesson in Diving into ES2015 - SitePoint Premium’s first ever Live Lesson was held this month with Darin Haener, walking you through several sections of his Premium course, Diving into ES2015.
Frameworks
- The rise of functional programming & the decline of Angular 2.0 - Learn the rise of functional programming (FP) will prevent Angular 2.0 from being as successful as its predecessor.
- slow-deps to Measure NPM Install Time - The ability to quickly add dependencies to an npm project is a gift and a curse – the curse being you oftentimes have no control over those dependencies being available.
- Writing a JavaScript framework - Sandboxed code evaluation - In this chapter, Bertalan Miklos explains the different ways of evaluating code in the browser and the issues they cause.
##Everything Else
- What Has JS Done for You? - Eric Elliott takes a look.
- Two-way Synchronization for a Web App and Git - Nicolás Bevacqua looks at how to implement a two-way synchronization between a web application and a git repository.
- Offline Storage for Progressive Web Apps
- Addy Osmani summarises some ideas around offline data storage for PWAs. - LogicJS - LogicJS adds logic programming to JavaScript.
- Create a Weather App With TypeScript and NativeScript - In this tutorial Wernher-Bel Ancheta shows you how to build a weather app in NativeScript using the TypeScript language.
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.