8000 Use with babel-plugin-styled-components when ssr is enabled · Issue #17 · c8r/lab · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Use with babel-plugin-styled-components when ssr is enabled #17
Open
@nathanspecht

Description

@nathanspecht

I've noticed that babel-plugin-styled-components does not recognize styled components written without template literals, e.g.

styled('button')([], space)

rather than

styled('button')`${space}`

In my case, components generated with lab are not given componentIds when the babel plugin's ssr mode is enabled.

For this reason, would it be possible to add an option to choose which syntax is used to export components from lab?

Thank you for your work on this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0