Skip to content

Use Resize Observer? #215

Description

@keul

This pretty good library carries a not-so-small bundle size change: https://bundlephobia.com/package/react-sizeme@3.0.1

It seems this largely depends on the element-resize-detector dependency.

I'm wondering is you ever evaluated a switch to the Resize Observer API for this.

I know this would be a task to defer to element-resize-detector probably, but it seems that the author has a different opinion.

Any thoughts?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions