JavaScript

React SSR with Next.js #1. Concept of Server Side Rendering & basics of routing

This entry is part 1 of 2 in the React SSR with Next.js

In recent years, the popularity of client-side Single Page Applications skyrocketed, for various reasons. Following its principles, we build pages with the amount of interactivity that we didn’t have before. When using React to render the page the “regular” way, the server sends a blank page and the JavaScript files. By doing that, the browser […]

JavaScript Node.js

Node.js TypeScript #13. Sending data between Worker Threads

This entry is part 14 of 15 in the Node.js TypeScript

The Worker Threads give us quite exciting features when compared to, for example, child processes. In this article, we create our instances of the MessageChannel to communicate with the Worker Threads. Aside from that, we also share the data between them: it’s something that is not possible with child processes. Communicating using the MessageChannel There […]

JavaScript Node.js

Node.js TypeScript #9. The Event Loop in Node.js

This entry is part 9 of 15 in the Node.js TypeScript

JavaScript and the Node.js environment uses the Event Loop. In this article, we explore the idea of it and go through different phases that the event loop has. Although this series aims to present the usage of Node.js with TypeScript, this time we don’t get much of a chance to do it. In this part of […]