Hello and welcome to This Week in JavaScript, our lovingly curated collection of links relating to what’s new and exciting in the world of JS. 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 JavaScript finds …
Getting started
- Comparing jQuery chosen vs select2 - Two jQuery plugins that help style your select boxes to improve their look, customize their behavior and make them more user-friendly.
- ECMAScript string padding - There’s an ECMAScript proposal to standarize String.prototype.padStart and String.prototype.padEnd. String padding is something that we’ve always had come across or implement ourselves one way or another.
- Levelling up your JavaScript -
- A gentle intruduction to functional JavaScript - Building blocks and motivation.
Learning more
- Calculate the average and median from array values - How to achieve native support to find the Max and Min numbers an array of numbers.
- AI for an HTML sliding tiles puzzle - Create and develop a sliding tiles puzzle.
- Better JS enums - A good implementation can help to prevent programmer errors.
- Understanding transducers - Composable and efficient data transformation functions that doesn’t create intermediate collections.
- How HTTP/2 is changing web performance best practices - Transitioning to HTTP/2 isn’t always straightforward and a speed boost isn’t automatically guaranteed. The new protocol challenges some common wisdom.
- JavaScript fatigue fatigue - Tips against feeling overwhelmed.
ES2015 & beyond
- Choosing Vanilla JavaScript in 2016 - ECMAScript’s latest spec makes a compelling case for developing without heavy libraries or frameworks.
- Destructuring in function parameters - Examples on how to benefit from destructuring.
- ES6 const is not about immutability - Should we all be using const instead of let or var?
- Promises vs eventual values - I’d really like to write code that interacts with values, and not Promises, and leave the machinery to the computer to work out.
- The cost of transpiling - Investigating the overhead cost of compiled es2015
- ES2016 and beyond - A rundown of what to expect in forthcoming years.
Libraries
- SpiritJS - Easily animate objects.
- Leaflet freedraw - Zoopla inspired freehand polygon creation using leaflet.js and D3.
Frameworks
- React testing demo tutorial - A tutorial of testing React components.
- Installing React native (on OS X) - Based on JavaScript and Facebook’s React Library it focuses on performance and tight integration with the native platforms supports.
- React native Android facebook plugin - A react-native wrapper around facebook-android-sdk for authentication purposes.
- React native, NW, & React calculator - Mobile, desktop and website Apps with the same code.
- Angular 2 time travel with Redux - Time travel by integrating Angular 2 with Immutable.js and Redux.
- Master complex Redux workflows with sagas - Get control of the rather complex workflow of spawning processes and coordinating events between them.
Cool stuff
- Polygon shredder - Takes many cubes and turns them to confetti.
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 chrisofarabia.