Skip to content

Remove the need for a root container class #89

@ZeeCoder

Description

@ZeeCoder

Currently in order for react-container-query to work, the root element wrapped with the helper components must have the container class on it.

Instead, just the act of creating a Container instance should be enough to "mark" that element as the container element.

An arbitrary class's presence should not be necessary on top of that.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions