callstack / callstack/linaria

Add comparison to css-modules in BENEFITS.md

Open
#202 3 comments 5 reactions 0 assignees View on GitHub
cat: documentation 📖 good first issue 😊 status: up for grabs 🙏
Dominant language
TypeScript
Stars
12.4k
Forks
413
PR merge metrics
No merged PRs in 30d

Description

There should be a note [here](https://github.com/callstack/linaria/blob/master/docs/BENEFITS.md) about css-modules. Because, as far as I can tell, there's no advantage to using this tool over css-modules. If you can't write dynamic styles, then what's the point of writing your CSS code in JavaScript in the first place? Why not just use CSS-Modules? The tooling already exists for it (`css-loader`), it works better with CSS linters and code highlighters, and it's easier to read by folks familiar with CSS.

I could be mistaken though, hence the need for a note about it. ;)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.