Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactor] Refactor Code Smells reported by ReactSniffer tool #254

Open
henoktx opened this issue Nov 28, 2023 · 0 comments
Open

[Refactor] Refactor Code Smells reported by ReactSniffer tool #254

henoktx opened this issue Nov 28, 2023 · 0 comments

Comments

@henoktx
Copy link
Contributor

henoktx commented Nov 28, 2023

I had made a recent contribution that was accepted. This is all part of work related to a subject in my degree.

I'm a student at Universidade Federal do Ceará and the work was about refactoring an open source system and submitting these changes later.

To identify code smells I used the ReactSniffer tool. This tool identified 6 types of code smells:

Therefore, the refactored code smells were - Any Type, JSX outside the render method, Large Component, Too Many Props and Missing Union Type Abstraction.

Here is a spreadsheet with the reported code smells, as well as the components that were accused by the tool. Those that were refactored are painted green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant