AFFiNE/packages
CatsJuice 98e35384a6
feat(component): helper function observeResize to observe size change via global ResizeObserver (#7241)
```ts
import { observeResize } from "@affine/component";

useEffect(() => {
  const dispose = observeResize(element entry => {
    console.log(entry.contentRect);
  });

  return () => dispose();
}, []);
```
2024-06-19 09:04:56 +00:00
..
backend fix: cycle import (#7264) 2024-06-19 05:19:17 +00:00
common chore: bump blocksuite (#7272) 2024-06-19 08:10:18 +00:00
frontend feat(component): helper function observeResize to observe size change via global ResizeObserver (#7241) 2024-06-19 09:04:56 +00:00