Henrik Grönvall Consulting AB

Handle complex objects in JavaScript with Mediator pattern

Use mediator pattern to handle objects that needs to know about each other's state

Working as a consultant in the software industry is a real challenge in many ways, and as a self-employed consultant it's even more. There are different roles I…

Date: 2020-01-25
Time to read: 5 min
JavaScript OOP

Encapsulation and inheritance in JavaScript

Object-Oriented Programming, OOP, refers to using self-contained pieces of code to develop applications. We call these self-contained pieces of code objects…

Date: 2019-11-29
Time to read: 13 min
TreeView component - a practical example

Article about creating a tree view component

In this article I will describe a practical example of when I created a tree view component for this web site - using GraphQL to query data from Gatsby…

Date: 2019-11-18
Time to read: 4 min
Scope and hoisting in JavaScript

An introduction about variable scopes and hoisting

In this article I will go through JavaScript’s variable scope and hoisting and some of the peculiarities of both of them. It is important to understand how…

Date: 2019-11-15
Time to read: 8 min
Node.js worker threads

What is worker threads and - when and, how to use them in Node.js

Worker Threads are available in the Node.js module. Before we dive into my example use of Worker threads in Node.js, we will see what are worker threads and…

Date: 2019-11-14
Time to read: 6 min
JavaScript prototype

JavaScript prototype in more details

Prototype is a fundamental concept that every JavaScript developer must understand, and this article aims to explain JavaScript’s prototype in plain, detailed…

Date: 2019-11-11
Time to read: 9 min
JavaScript Objects

What is JavaScript objects and how to deal with them

JavaScript’s core, and most often used, and most fundamental data type is the Object data type. JavaScript has one complex data type, the Object data type, and…

Date: 2019-11-10
Time to read: 10 min
Henrik Grönvall
Copyright © 2022 Henrik Grönvall Consulting AB