NNikinblog.xnim.me·Aug 11, 2024 · 7 min readThings I wish TypeScript had. Part 1Note: these features are not in TypeScript (Aug 2024), that's a "what if" sort of posts about the things which I wish TS had, because on my daily basis I face some difficulties because of these tiny things. Examples in that article are artificial and...00
NNikinblog.xnim.me·Dec 12, 2023 · 22 min readUnderstanding IndexedDB. The complete guide.Before we start I have been working with IndexedDB for more than 3 years. When I just started, I thought, huh, it's similar to MongoDB, easy-peasy. Quite fast I understood that: The native API is not that easy to use, you need a handy wrapper like D...05ANCSD
NNikinblog.xnim.me·Aug 5, 2023 · 2 min readTL&DRs: What I know about JavaScript String.Hey! What do you know about string type in JavaScript? I believe you saw gazillion times about 1+'1' or so. In this article, I won't talk about it, but I'd suggest we cover these questions: How strings are stored? Is there a limit for the string le...00
NNikinblog.xnim.me·Jul 3, 2023 · 6 min readWhy even simple window.fetch might be trickyI recently saw this tweet https://twitter.com/thomasfindlay94/status/1672211922517622784: While many responses were related to missed await before fetch, I'd like to talk about a bigger issue: error handling. Let's fix an obvious error and take a cl...00
NNikinblog.xnim.me·Mar 12, 2023 · 13 min readBrowser Event loop: micro and macro tasks, call stack, render queue: layout, paint, compositeThis article was initially published in my custom blog, but since I migrate to hashnode, I re-visited and re-wrote it The article focuses on the event loop, the order of execution, and how developers can optimise code. The fully detailed schema: Eve...010GGKPM