Skip to content

Readme should indicate that ResizeObserver is optional #24

Open
@mmiller42

Description

@mmiller42

In index.js, the hook falls back to using window.addEventListener('resize') if ResizeObserver is not available in the current browser. Therefore, it should be noted that you don't in fact require the polyfill to use this hook.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions