Tag: JavaScript

React Server Components

There is a lot of talk these days about React Server Components(RSC). Next.js has just announced that their support for React Server Compone…

The story of a REC button

Since I got the MacBook Air with the A1 chip I wanted to see if it can be used to do some AI work. So I’ve looked around for a small project…

10 ways to render a webpage

There used to be a new JavaScript library every day. That was fine, I didn’t care, I continued to implement my web apps using Angular or Rea…

A short intro to Partytown

It happens all the time. We try to optimize our code, optimize how images and CSS are loaded, do code splits, and all kinds of smart techniq…

Let's Learn JavaScript - Strings

Another important primitive data type is the String. Strings are composed of one or more characters and are used to keep words and texts. In…

Let's Learn JavaScript - Data types

The purpose of any program is to transform data. Any program needs data. In JavaScript, when we talk about the program’s data we talk about …

Let's Learn JavaScript - Naming things

Previously on “Let’s Learn JavaScript”: How JavaScript compares to other programming languages and the mindset you need to learn JavaScript…

Let's Learn JavaScript - Fundamentals

This is the third part of the “Let’s Learn JavaScript” tutorial. In the first part, we learned how JavaScript compares to other programming …

Let's Learn JavaScript - Hello World

This is the second part of the “Let’s Learn JavaScript” tutorial. In the first part, we learned how JavaScript compares to other programming…

Functional Style Programming

The vast majority of us, programmers, use an OOP language like Java, C++, or C#. Very few are using a functional programming language like H…

Make me a Promise

Let’s start with a short story. A girl asks his father: Daddy are there people in space right now? The father doesn’t know but he promises h…

Using Fetch

For years, the default way to call APIs from a web page was XMLHttpRequest. But working with XMLHttpRequest was not easy, so on top of it we…

How to create an NPM package

I’ve written some code that I thought might be useful to others, so I decided to share the code as NPM packages. I ended up creating two pac…