Skip to content

starter app and those two misleading css files #2720

Closed
@kswope

Description

@kswope

src/index.css
src/App.css

Combine the content of these two files for clarity

To me, and I think to almost all beginners, this would imply there is some kind of scoping going on. I just assumed CSS Modules were in play. Sadly no. Appening 'App-' to all App.css rules is just promoting bad practice.

Better yet, get CSS Modules working as default, its just two lines in the webpack config.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions