Jun 10, 2023
The React children prop makes it possible to reuse components across your application. You can think of the children prop as a slot where any type of content can be inserted into a specific container. The prop is often used when creating buttons or layout components. The concept is quite easy to grasp but if you are using TypeScript it can be a bit more difficult.
Jul 09, 2022
Firebase Cloud Messaging is realy handy and it provides an easy integration when it comes to sending notifications to both iOS, Android and the web. In this article I will show you how to send messages to multiple users using simple HTTP and the Firebase Cloud Messaging REST API.
Feb 26, 2022
One of the most popular HTTP packages for Node.js is axios, and it's my favorite HTTP client when it comes to making network requests. I have used it many times before making simple requests returning JSON data, but when I used it to download files to my computer for the first time, I struggled a bit. In this post, I will show you how you can download files such as images or videos and store them on your computer.
Jan 07, 2022
If you have used Tailwind CSS before you may have noticed that the framework do a CSS reset in order to keep the styling consistent throughout the page. This is awesome but if you are building a website where you need to display content from an external source such as a markdown file it can be a daunting task to style the different elements.
Aug 03, 2021
Google introduced version 4 of Analytics back in October 2020 and it was just recently that I noticed that my go-to plugin does not work anymore... In this small post I will show you how to get Google Analytics 4 working in your Gatsby project.
Oct 22, 2020
The day had come, it was finally time to upgrade webpack from v3 to v4 in our React project. All our build scripts, configuration files, and development server would have to be reworked, and we all thought that it would be a big hassle… turned out it was not!
Mar 15, 2020
In this tutorial you will learn how to create a scroll to top button in React that you can use on your blog or in your web application. This feature is great on websites where you have a lot of content and the menu/header is not accessible to the user all the time.
Mar 14, 2020
Have you found a new library or tool on GitHub that lacks functionality or needs improvements? Then you could contribute to the project on GitHub and help the developers and other users along the way! In this post we will go over the basics of GitHub open source contribution so you can start to contribute to your favourite projects and packages!
Mar 07, 2020
Are you tired of using long for loops and complicated constructions in order to perform simple tasks when working with arrays? By using some of the array methods that JavaScript offers you can improve your code and make it easier to understand. In this post we will go over how you can use the array methods Map, Filter and Reduce in order to write better code.
Mar 01, 2020
In this article, we will go over 5 Visual Studio Code extensions that will make you more productive as a web developer. These are extensions that I use daily to be as efficient as possible.
Feb 29, 2020
Have you ever wondered how to create your own Google Chrome extension? Well, then you're lucky because in this article we will create a simple extension that allows you to clear your browser history with a single click!