This repository has been archived by the owner on May 5, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] Renderer: fix rendering promises
The render function (of the renderer) can be called many times synchronously, the render functions are called for all nodes even if they are rendered together. Example, in a for loop, we call render (of the renderer) for a text, so the render function is called for each character. It is necessary to check in the promise (including in the following microtask) if the rendering has not already been done.
- Loading branch information