Container Components and Stateless Functional Components in React
In the article Building a Chat Component in React and ES6, we learned a way to create React components: import React from 'react'; class SimpleComponent extends React.Component { render() { return (...
View ArticleTen JavaScript Theory Questions – The ES6 Quiz
There are countless questions your interviewers may ask when it comes to how JavaScript works. The idea behind asking these questions is to assess whether you have recent experience in writing...
View ArticleJavaScript Tech Interview Exercise 5: Connect-4 Solver in ES6
This interview question is also available as a video on my Youtube channel. You might not know about me that I have conducted tech interviews with over 500 software developers from more than twenty...
View ArticleBinary Trees, Recursion, Tail Call Optimization in JavaScript
You might not know about me that I have conducted tech interviews with over 500 software developers from more than twenty countries with the objective of identifying and hiring the best talent. I have...
View ArticleJavaScript Tech Interview Exercise 9: Event Delegation in a Pomodoro App
You might not know about me that I have conducted tech interviews with over 500 software developers from more than twenty countries with the objective of identifying and hiring the best talent. I have...
View ArticleHow Replacing JavaScript Templating Engines with ES6 Template Literals May...
The article ES6 Strings and Template Literals introduced you to the syntax of ES6 strings and template literals. However, if you wanted to use ES6 template literals for microtemplating, the article...
View ArticleTranslating SQL Queries using Map-Reduce-Filter in JavaScript
Exercise: Suppose the following tables are given in the form of arrays of objects: var inventory = [ { id: 1, owner: 1, name: 'Sword', weight: 10, value: 100 }, { id: 2, owner: 1, name: 'Shield',...
View ArticleA Practical Introduction to ES2017 Async-Await
The ability to write asynchronous functions is a major update in ES2017. In order to understand this chapter, I suggest that you review the chapter on promises. What are asynchronous functions?...
View ArticleHigher Order Functions in JavaScript
In this article, you will learn about higher order functions. An important cornerstone of functional programming is higher order functions. If you want to write programs in mostly functional style, it...
View ArticleWhat’s New in ES2019?
ES2019 or ES10 is the 2019 version of JavaScript. After the major 2015 update, JavaScript has been evolving every year. Developers get a small set of useful features, that helps us balance between...
View Article