Blog

Hello 👋, thanks for being here. I am Mario, a Software Engineer from Austria.
In a nutshell:  After my apprenticeship as a Process Control Technician (electrical engineering in factories with programming in Siemens Simatic-PLC7). I decided to switch to the dark side (Marketing) and during this period of time I discovered how empowering and rewarding it can be to build applications and see an idea coming to life. I have built and/or was part of a team who built applications and platforms (mainly in JavaScript) and I have learned a lot. I like writing (studied Marketing & Communications) and I love to share the lessons I have learned. Hope you enjoy my articles and your feedback and comments are always welcome. 😊

2 min read

How to add husky to React

Use husky to reduce errors and have a consistent codebase

Read More

5 min read

Getting started with Webpack

Deep dive into webpack and what problems it can solve for you

Read More

6 min read

How to list/debug npm packages?

Different versions can cause version conflicts.

Read More

3 min read

How to specify a Node.js version

If a Node.js version is specified compatibility issues can be avoided.

Read More

2 min read

How to use fontawesome - Angular

Three easy steps to use Font Awesome in Angular

Read More

4 min read

How to add fontawesome - Angular

Depending on your Angular version there are different ways.

Read More

4 min read

Introduction to routing in Angular

Basic routing with the Angular router explained

Read More

5 min read

How to write a custom ESLint rule

Customize ESLint and enforce a specific rule

Read More

2 min read

How to add husky to Angular

Use husky to reduce errors and have a consistent codebase

Read More

5 min read

How to create a web server in Node.js

Use Node core APIs to create a minimal web server

Read More

2 min read

How to dynamically load ESM in CJS

Use dynamic import() as workaround

Read More

3 min read

How to convert a CJS module to an ESM

Converting CommonJS to EcmaScript modules

Read More

1 min read

How to create a CJS module

Use modules to write reusable code in Node.js

Read More

10 min read

How to stream to an HTTP response

Use streams to efficiently send a large file as an HTTP response

Read More

4 min read

How to handle binary data in Node.js?

Handle binary data in Node.js with the Buffer constructor

Read More

5 min read

Routing in Express.js explained

All you need to know about routing in the Express Framework for Node.js

Read More

5 min read

What Is the Express Node.js Framework?

Understand core concepts of the Express server Node.js framework,

Read More

3 min read

Forwarding refs to components

Automatically pass a ref to a child component

Read More

10 min read

How to use streams to ETL data?

Learn how to use streams to extract, transform and load data

Read More

2 min read

Media queries with styled components

Responsive styling using styled components

Read More

4 min read

How to connect streams with pipeline?

Learn what pipeline does, and how to connect streams using pipeline

Read More

3 min read

How to handle stream errors?

If a stream error is not handled, it can crash your application.

Read More

4 min read

How to connect streams with pipe?

Learn what pipe does, and how to connect streams using pipe

Read More

4 min read

What Is a Node.js Stream?

Limitations, benefits and use cases for Node.js streams

Read More

5 min read

Handling Errors in Node (asynchronous)

Creating, managing and propagating errors in async scenarios.

Read More

4 min read

Handling Errors in Node.js (synchronous)

Creating, managing and propagating errors in sync scenarios.

Read More

4 min read

Introduction to errors in Node.js

Creating, managing and propagating errors in sync and async scenarios.

Read More

3 min read

Callback to promise-based functions

How to convert callback to promise-based functions.

Read More

4 min read

ETL: Load Data to Destination with Node....

Create the third phase for an ETL pipeline in Node.

Read More

4 min read

ETL: Transform Data with Node.js

Create the second phase for an ETL pipeline in Node.

Read More

3 min read

ETL: Extract Data with Node.js

Create the first step for an ETL pipeline in Node.

Read More

4 min read

Event Emitters in Node.js

Create and consume event emitters

Read More

2 min read

How to set up SSL locally with Node.js?

Use SSL in your local development environment

Read More

3 min read

How to use async/await in Node.js

How to use async/await with Promises in Node

Read More

2 min read

What is an API proxy?

Understand what an API proxy is and the benefits of using it.

Read More

3 min read

How to make an API request in Node.js?

3 ways to make HTTP requests in Node.js

Read More

7 min read

How does the Event Loop work in Node.js

One of the most important aspects to understand about Node.js

Read More

2 min read

How to configure SSL locally in Angular?

Use SSL in your local development environment

Read More

3 min read

How to wait for multiple Promises?

Use Promise.all to wait for multiple promises in Node.js

Read More

2 min read

How to organize Node.js code

Maintainable Node.js code , easier to read and no code duplication.

Read More

4 min read

Understanding Promises in Node.js

Learn how to create and work with Promises in Node.js

Read More

4 min read

How does the Node.js module system work?

Understand how the Node.js module system can help to write reusable code.

Read More

3 min read

Set up and test a .env file in Node

Set up and test a .env file.

Read More

3 min read

How to Use Environment Variables in Node

Handle sensitive data the right way.

Read More

1 min read

How to clean up node modules?

Remove extraneous packages - manually or automatically

Read More

2 min read

Restart a Node.js app automatically

Run a node application in development mode that restarts on file changes.

Read More

2 min read

How to configure https (SSL) locally?

Use SSL in your development environment

Read More

2 min read

How to update a Node dependency - NPM?

Get the latest bug fixes and performance improvements.

Read More

2 min read

What are NPM scripts?

Bundle shell commands and automate repetitive tasks.

Read More

2 min read

How to uninstall npm packages?

Uninstall packages completely from a project - manually or automatically

Read More

3 min read

How to install npm packages?

Generate a package.json file - manually or automatically

Read More

2 min read

How to create a package.json file?

Generate a package.json file - manually or automatically

Read More

2 min read

What Is the Node.js ETL Pipeline?

Understand the concept of an ETL (Extract, Transform, Load) pipeline in Node.js.

Read More

5 min read

What is data brokering in Node.js?

Understand data brokering and different approaches in Node.js.

Read More

2 min read

How to integrate Google Material Icons

Use Material Icons via Google Web fonts or host locally

Read More

3 min read

What is Closure Scope?

Closures and lexical scoping explained

Read More

2 min read

Inheritance in JavaScript - Part 3 of 3

Prototypal Inheritance with class-syntax constructors

Read More

2 min read

Inheritance in JavaScript - Part 2 of 3

Prototypal Inheritance with constructor functions

Read More

3 min read

Inheritance in JavaScript - Part 1 of 3

Inheritance in prototype-based Javascript explained

Read More

2 min read

JavaScript functions in a nutshell

Basics: Functions in Javascript explained

Read More

3 min read

Data types in Javascript explained

Basics: Built-in data structures and data types

Read More

4 min read

How to trigger data fetching with React ...

Fetch data with useEffect Hooks programmatically/manually

Read More

3 min read

How to read and write JSON Files with No...

Save data between restarts

Read More

2 min read

What is package-lock.json?

Avoid installing different versions from the same module

Read More

2 min read

How to install Node.js locally with nvm?

Manage multiple versions of Node.js.

Read More

2 min read

How to update Node.js?

The proper way to upgrade Node.js

Read More

2 min read

How to check unused npm packages?

Minimize your code with removing unused one.

Read More

2 min read

How to publish a Gatsby app to Github pa...

Publish your Gatsby website for free to github pages

Read More

3 min read

What is the Node.js fs module?

Built-in Node.js file system module

Read More

3 min read

What is Semantic versioning?

Semantic versioning in Node.js

Read More

6 min read

The Basics of Package.json explained

Core element of Node.js ecosystem - package.json

Read More

3 min read

React Hooks: Loading Indicator and error...

Error handling when fetching data with useEffect

Read More

3 min read

How to fetch data with React Hooks

Fetch data with useState and useEffect Hooks in React

Read More

2 min read

CSS Animations with Styled Components

Animations with @keyframes

Read More

2 min read

How to create gradient text with CSS

Gradient text effect explained

Read More

2 min read

Style active state of Links in Styled Co...

Conditional styling of menu items

Read More

3 min read

Introduction to forms in Angular

Handling user input with forms in Angular

Read More

3 min read

CSS Units - REM or EM

Adaptability and Flexibility with relative units

Read More

3 min read

What is JSX and why to use it?

Introduction to JSX in React

Read More

4 min read

How to use the React useEffect Hook

The useEffect Hook lets you perform side effects in function components.

Read More

2 min read

How to translate MatPaginator

Translate Angular`s MatPaginator (Material Design Components)

Read More

3 min read

How to use the React useState Hook

The useState Hook makes function components stateful

Read More

1 min read

How to add Tailwind CSS

The easy way to add Tailwind CSS to Gatsby

Read More

3 min read

React Hooks at a Glance

How to use React Hooks

Read More

2 min read

How to patch an NPM dependency

Fix a bug in a dependency without waiting for the maintainer

Read More

3 min read

How to make shapes with CSS

Basic shapes with a few lines of CSS

Read More

3 min read

What is NPM audit?

Take advantage of the build-in security tool

Read More

2 min read

How to add Yandex.Metrica in Gatsby

Three easy steps to add website tracking to your website

Read More

4 min read

Getting started with Angular

Introduction to Angular and what are the benefits of using it

Read More

3 min read

Beginner`s guide to NPM

Getting started with the Node Package Manager

Read More

4 min read

CSS units explained

Absolute vs. Relative Units

Read More

5 min read

Getting started with Node.js

Introduction to Node.js and how to run JavaScript outside the browser.

Read More

3 min read

How to copy/clone objects in javascript

Avoid pitfalls when copying objects - shallow/deep

Read More

2 min read

How to add Google analytics in Gatsby

Three easy steps to add website tracking to your website

Read More

2 min read

How to use styled components in Gatsby

Composing custom useStaticQuery hooks

Read More

1 min read

How to create custom hooks in Gatsby

Composing custom useStaticQuery hooks

Read More

3 min read

How to copy/clone arrays in javascript

Avoid pitfalls when copying arrays - shallow/deep

Read More

4 min read

Create the classic Snake game - React II

Styling, Improvements and Features

Read More

6 min read

Create the classic Snake game - React I

Start from scratch (Create-React-App, Typescript, React Hooks)

Read More

2 min read

How to setup an RSS feed in Gatsby

Add a distribution channel for your site’s content

Read More