mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 12:33:36 +09:00
We are going to get rid of react-use. Here replaced its useMeasure with resize observer. Sometimes using native api without wrappers gives cleaner logic. Here we avoid using effect as watcher and update store directly from callback.