Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ankitchouhan1020/prefix-classname


https://github.com/ankitchouhan1020/prefix-classname

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

Conflicting class names and overriding CSS are huge pain in React. An easy solution(not optimal) for this issue is to
add unique prefix in each file's classNames. This tool does that for you. It add unique prefix to classNames in your React files.

code conversion gif


### Command

```bash
npx prefix-codemod prefix-classname path_to_folder_or_file
```