Skip to content

Commit 54b4367

Browse files
authored
docs: add DEPRECATION NOTICE
1 parent c305e5b commit 54b4367

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

README.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,15 @@
88

99
React CSS Modules implement automatic mapping of CSS modules. Every CSS class is assigned a local-scoped identifier with a global unique name. CSS Modules enable a modular and reusable CSS!
1010

11-
> ⚠️⚠️⚠️
12-
>
13-
> Note:
11+
> ## ⚠️⚠️⚠️ DEPRECATION NOTICE ⚠️⚠️⚠️
1412
>
1513
> If you are considering to use `react-css-modules`, evaluate if [`babel-plugin-react-css-modules`](https://github.com/gajus/babel-plugin-react-css-modules) covers your use case.
1614
> `babel-plugin-react-css-modules` is a lightweight alternative of `react-css-modules`.
1715
>
1816
> `babel-plugin-react-css-modules` is not a drop-in replacement and does not cover all the use cases of `react-css-modules`.
1917
> However, it has a lot smaller performance overhead (0-10% vs +50%; see [Performance](https://github.com/gajus/babel-plugin-react-css-modules#performance)) and a lot smaller size footprint (less than 2kb vs +17kb).
2018
>
21-
> It is easy to get started!
22-
> See the demo https://github.com/gajus/babel-plugin-react-css-modules/tree/master/demo
19+
> It is easy to get started! See the demo https://github.com/gajus/babel-plugin-react-css-modules/tree/master/demo
2320
2421
- [CSS Modules](#css-modules)
2522
- [webpack `css-loader`](#webpack-css-loader)

0 commit comments

Comments
 (0)