JavaScript
Categories
JavaScript Arrow Functions: How, Why, When (and WHEN NOT) to Use Them
One of the most heralded features in modern JavaScript is the introduction of arrow functions, sometimes called 'fat arrow' functions, utilizing the new token =>.
Read MoreJS By Example: 8 Distinct Uses Of JavaScript Array Slice
The JavaScript array slice method is one of the most powerful and commonly used built-ins in the JavaScript language.
Read MoreUnderstanding Higher-Order Components in React and Gutenberg
The front-end ecosystem has been evolving extremely rapidly, with the rise of frameworks like React, Vue, and Angular leading to dramatic changes in application architectures and a whole new set of patterns for JavaScript developers to learn. With WordPress embracing React in the new Gutenberg editor, millions of developers are suddenly being introduced to this world, and scrambling to catch up.
Read MoreLearning React: Is This ES6 or React?
In a recent blog post about his struggle to learn React, Brad Frost highlighted an issue that I've heard from developer after developer:
Read MoreUnderstanding the Spread Operator in JavaScript
Newer versions of JavaScript have brought vast improvements to the language in terms of expressiveness and ease of development, but the rapid pace of change has left many developers feeling like they're struggling to keep up. With Wordpress now embracing React and modern JavaScript in the new Gutenberg editor, the massive audience of Wordpress developers is being brought into this world, like it or not, and scrambling rapidly to catch up. In this post we're going to break down one of the most popular new features of the JavaScript language - the Spread operator (aka the ... operator).
Read More