docs(ui): add comments for recent perf optimizations

This commit is contained in:
psychedelicious
2025-02-17 08:16:59 +10:00
parent 65eabde297
commit 62e5b9da18
10 changed files with 27 additions and 0 deletions

View File

@@ -67,6 +67,9 @@ import { assert } from 'tsafe';
*
* For example, the canvas tab needs to check the status of the canvas manager before enqueuing, while the workflows
* tab needs to check the status of the nodes and their connections.
*
* A global store that contains the reasons why the app is not ready to enqueue generations. State changes are debounced
* to reduce the number of times we run the fairly involved readiness checks.
*/
const LAYER_TYPE_TO_TKEY = {