https://github.com/drag13/react-code-smells-examples
This repo is dedicated to the React code smells examples
https://github.com/drag13/react-code-smells-examples
Last synced: 5 months ago
JSON representation
This repo is dedicated to the React code smells examples
- Host: GitHub
- URL: https://github.com/drag13/react-code-smells-examples
- Owner: Drag13
- License: gpl-3.0
- Created: 2023-02-15T10:12:14.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-14T07:27:43.000Z (about 2 years ago)
- Last Synced: 2024-12-20T07:19:44.892Z (over 1 year ago)
- Language: JavaScript
- Size: 109 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# React Code Smells example
## About
This is curated list of react code smells. All examples can be found in the ./src/examples
## List of smells
- Setting calculated value to the state [](https://youtu.be/TioGnP_62oA)
- Not cancelling lasting effects [](https://youtu.be/ldT5V0fqYdk)
- Redundant useCallbacks [](https://youtu.be/by2ThDcOQog)
- Redundant structures in the components [](https://youtu.be/vsIeKWSOQSM)
- Redux store code smells [](https://youtu.be/Z5jFWDOTiMw?feature=shared)
## How to install
To install the app
- clone the repo,
- install dependencies
- start the app