Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Use ResizeObserver to listen to size changes (#360)
* feat: Use ResizeObserver to listen to size changes The previous approach used a `requestAnimationFrame()` loop with calls to `getBoundingClientRect()` on every frame. Fixes #359 * chore: Remove @reach/observe-rect dependency
- Loading branch information