onlook
onlook copied to clipboard
[bug] Layer indexing operation is expensive
Describe the bug
We commit expensive blocking operations on layers loaded which can degrade performance on large DOM tree https://github.com/onlook-dev/onlook/blob/2e40d6a2c8c69ca6582b2aff4459ea569ea950a3/apps/studio/src/lib/editor/engine/ast/index.ts#L65