HypeJS.
A place about all things JavaScript and more
Golang, Go read JSON data from a file and create a slice of struct
I hope you are finding this platform useful and wishing you to have a good day!
Using a JSON file which contains a collection of people, read the JSON and map it to a slice of struct.
More Stories
HTTP/HTTPS server with Go 1.22, with nested routing, middleware and more
In my effort to learn Go 1.22 I've tried to see which of my skills learned in express/node.js can be transferred to GO.
What are React Server Components? How it works?
This time around we are not dealing with a new fancy API but rather a new application architecture whict lets you fetch data in asynchronous components that run on the server or even during the build time. Let's have a look at what React team has in the store for the future.
This is how a Javascript engine works
A JavaScript engine is a program that converts code into machine-readable instructions which can be executed by the computer's hardware. Modern JavaScript engines no longer just interpret code, they compile it. V8 is a JavaScript engine developed by Google for Chrome and Chromium web browsers. V8 is written in C++, it is portable and runs on Mac, Windows, Linux and other systems. Because of it's popularity, V8 will be the subject to disect in this article.
Destroy event listeners with AbortController
The other day, I came across an unconventional usage for AbortController API. I was aware that AbortController can be used for better control over web requests, but I never thought to leverage it with event listeners. I assume you know how to use the traditional EventTarget: removeEventListener() method so I will not talk about that, today we are talking about an alternative.