Skip to content

Getting working with Preact #250

Open
@evenfrost

Description

@evenfrost

Seems styleName not being transformed to corresponding className when using preact. Tried to migrate same babel-plugin-react-css-modules config from existing React project but failed to get it working with Preact. Using preact-compat package.

Other issues (#200, #65) show notions of using Preact in their projects but no real evidence.

And slightly off-topic, but in case anyone stumbles upon styleName typings error when working with Preact, TypeScript and this plugin: DefinitelyTyped/DefinitelyTyped#12040 (comment).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions