---
title: "Nik (@xnim) | Hashnode"
description: "SWE@Meta, Whatsapp. Read the latest articles by Nik on Hashnode."
url: "https://hashnode.com/@xnim"
---

@xnim

# Nik

@xnim · London, UK · Joined June 2022

SWE@Meta, Whatsapp

[Website](https://xnim.me/)

## Comments

[Hey! I can think of a number of use cases: Offline-first applications (e.g. Google Docs, where the document can be available offline, or todoist, where you might want to allow user to work with the app while user is offline) E2e encrypted apps: you need to store the keys somewhere and either derive them from password, or, store locally. E.g. WhatsApp. Dynamic caching -- if the performance in your app is extremely important, and fetching the data from the remote server is slow.](https://hashnode.com/posts/indexeddb-guide/6578595ec0bc454bd8fe65bb/comment/65ce30180dbcb6e7f2946858#reply-660c4fbaf55714f0f1530a41)

Reply · Article · Apr 2, 2024 · [Understanding IndexedDB. The complete guide.](https://hashnode.com/posts/indexeddb-guide/6578595ec0bc454bd8fe65bb)

[The correct answer is that behaviour is not determined. (as we should know when render happens the last time). e.g. if the render happens right before TaskA, then there is a high probability, that FuncA will be executed before.](https://hashnode.com/posts/event-loop-and-render-queue/640dda1fbcc5b29f3eeaf226/comment/649eae262a0936ab01ee2424#reply-65b8218dd3c9bd8cdf6afe3d)

Reply · Article · Jan 29, 2024 · [Browser Event loop: micro and macro tasks, call stack, render queue: layout, paint, composite](https://hashnode.com/posts/event-loop-and-render-queue/640dda1fbcc5b29f3eeaf226)

[Hey Jacob, sorry, missed your comment. yes, sure, go ahead](https://hashnode.com/posts/event-loop-and-render-queue/640dda1fbcc5b29f3eeaf226/comment/659f9c89d842226d80922480#reply-65b821347d8b3001fecbabcc)

Reply · Article · Jan 29, 2024 · [Browser Event loop: micro and macro tasks, call stack, render queue: layout, paint, composite](https://hashnode.com/posts/event-loop-and-render-queue/640dda1fbcc5b29f3eeaf226)

[It might not run "The whole layout", as layout is quite complicated process which has many steps, it worth to make a separate article. What can happen: the layout of the changes code has done + recalculate all "shifting" in the elements. The simplest way to see it: Open you browser dev tools Go to Performance Tab Start recording Open a website (or make some actions on opened page) Stop recording Open "Event log" Scroll to function call which makes Layerise step. Example: Select it on a timeframe to see the calculations](https://hashnode.com/posts/event-loop-and-render-queue/640dda1fbcc5b29f3eeaf226/comment/6445d691994f853a1efeda15#reply-644bb157edbb52981df7d0f2)

Reply · Article · Apr 28, 2023 · [Browser Event loop: micro and macro tasks, call stack, render queue: layout, paint, composite](https://hashnode.com/posts/event-loop-and-render-queue/640dda1fbcc5b29f3eeaf226)

[translateZ(0) doesn't move your render to GPU. The whole "composite" layer can be executed on GPU by modern browsers. The reason, why translateZ(0) is usually recommended to resolve some rendering issues, is because it "moves" your elements to a separate layer in browser. You can see the layers model in your browser by opening "Layers" tab: Even though this method solves some rendering issues, many Layers might cause performance issues in your app. If you want to learn more here is an article (rus) about that: https://habr.com/en/companies/odnoklassniki/articles/313978/](https://hashnode.com/posts/event-loop-and-render-queue/640dda1fbcc5b29f3eeaf226/comment/643d9131f6c4d2d29899728d#reply-643da26cb7aa20e0b08c4b1e)

Reply · Article · Apr 17, 2023 · [Browser Event loop: micro and macro tasks, call stack, render queue: layout, paint, composite](https://hashnode.com/posts/event-loop-and-render-queue/640dda1fbcc5b29f3eeaf226)

[Updated images in the article. By accident got them removed before publishing the article 🙈](https://hashnode.com/posts/event-loop-and-render-queue/640dda1fbcc5b29f3eeaf226/comment/640de91f1f113f512807b04f)

Comment · Article · Mar 12, 2023 · [Browser Event loop: micro and macro tasks, call stack, render queue: layout, paint, composite](https://hashnode.com/posts/event-loop-and-render-queue/640dda1fbcc5b29f3eeaf226)
