Skip to content

Running two instances of styled components causes class name clashes #381

Closed
@mcissel

Description

@mcissel

We need to be able to namespace each instance, like
https://styled-components.com/docs/tooling#namespace

The problem is that hashing does not create unique classnames between instances. It's a known issue that was solved using the babel plugin. This plugin needs that as well, so we can use typescript.

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