---
title: "Comment by Natalia Davydova on \"Browser Event loop: micro and macro tasks, call stack, render queue: layout, paint, composite\" | Hashnode"
description: "Thank you for this great article! The only question about this part: &quot;So, if you have transform: translateZ(0) in your codebase to move the render on a GPU"
url: "https://hashnode.com/posts/event-loop-and-render-queue/640dda1fbcc5b29f3eeaf226/comment/643d9131f6c4d2d29899728d"
---

[Discussion](https://hashnode.com/posts/event-loop-and-render-queue/640dda1fbcc5b29f3eeaf226)

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

[Natalia Davydova](https://hashnode.com/@natDavydova)

[Apr 17, 2023](https://hashnode.com/posts/event-loop-and-render-queue/640dda1fbcc5b29f3eeaf226/comment/643d9131f6c4d2d29899728d)

Thank you for this great article!

The only question about this part: "So, if you have transform: translateZ(0) in your codebase to move the render on a GPU, it doesn't work in such a way. It's a misconception."

Could you please share the source you've get the info?

In lots of articles is told that this 'hack' really improves optimizations.

[Nik](https://hashnode.com/@xnim)

[Apr 17, 2023](https://hashnode.com/posts/event-loop-and-render-queue/640dda1fbcc5b29f3eeaf226/comment/643d9131f6c4d2d29899728d#reply-643da26cb7aa20e0b08c4b1e)

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:

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1681760789153/a13aa3d0-cb66-4c57-89c4-d41f48eda687.png)

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: [habr.com/en/companies/odnoklassniki/articles/3139…](https://habr.com/en/companies/odnoklassniki/articles/313978/)

[Natalia Davydova](https://hashnode.com/@natDavydova)

[Apr 17, 2023](https://hashnode.com/posts/event-loop-and-render-queue/640dda1fbcc5b29f3eeaf226/comment/643d9131f6c4d2d29899728d#reply-643da514b7aa20e0b08c4b71)

[Nik](https://hashnode.com/@xnim) Thank you very much for the explanation and the article!
