mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
⚡ Performance improvements
This commit is contained in:
parent
814042909a
commit
b576ef02af
16 changed files with 510 additions and 315 deletions
|
@ -46,7 +46,10 @@
|
|||
:characterData true}
|
||||
mutation-obs (js/MutationObserver. on-mutation)]
|
||||
(mf/set-ref-val! prev-obs-ref mutation-obs)
|
||||
(.observe mutation-obs node options))))))]
|
||||
(.observe mutation-obs node options))))
|
||||
|
||||
;; Return node so it's more composable
|
||||
node))]
|
||||
|
||||
(mf/with-effect
|
||||
(fn []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue