I'm kspr a dev

My articles

A Memory-Friendly Way of Reading Files in Node.js

How to read gigabytes of data with a limited amount of memory. It's time to do some memory-aware programming.
4 January 2021

How to use useEffect on server-side?

What a bummer — useEffect does not work on the server-side 😱How to fetch and render data in React SSR application.
11 May 2020

My approach to SSR and useEffect

A custom SSE hook to fetch data server-side
10 May 2020

Async iterators in JS - database iteration in NodeJS

How to process entire database (MongoDB, Elasticsearch or PostgreSQL) using modern JavaScript tools. Should I use limit-offset, cursors or range query to get data from database? And why asynchronous iterators play well with database querying.
24 February 2020
Contact me
Support me