Ritenta

Ritenta reading

Articles for curious builders

Read or listen to articles on JavaScript, React, browsers and developer tools.

How React renders, and what Fiber actually does

A full walk through React rendering, from the moment you call a state setter to the moment the browser paints. What a fiber is, what is really stored on one, how the two trees work, what the commit phase does, and how lanes decide what runs first. Checked line by line against React 19.3.

37 min read

How Node.js handles many requests with one thread

Node.js runs your code on a single thread and still serves many requests at the same time. This post follows one HTTP request from the socket to the response, and uses measurements to show which work needs a thread and which work the operating system does for free.

13 min read

React Server Components

React Server Components are powerful and extremely important new application architecture for building scalable, smart, and complex React applications. This post will cover everything you need to know about RSCs, and how to use Suspense for data fetching.

12 min read

Interesting topics of the JS land

This post contains interesting TS/JS questions (and answers) that probably every developer asks themselves several times. Why does this piece of code run before that one? Why this expression is so weird etc.?

10 min read

Node.js CPU intensive operations

Superficially look at the worker_threads module in Node.js. In this post, we are going to take a look at the most trivial example (counting a big number).

7 min read

Git Cheat Sheet

A quick reference for everyday Git work: stage and commit changes, switch branches, share updates, and undo mistakes safely.

4 min read

Rules of hooks

Why can't we use hooks conditionally? How do hooks work? Where is data stored? What is React Fiber? We are gonna try to answer all those questions together.

4 min read

React Keys

Stable keys preserve the identity of React list items. Follow an input through a prepend, fix the example, and see when changing a key should reset state.

4 min read

Ukraine

Photo of my beautiful country.

3 min read