react-design-editor icon indicating copy to clipboard operation
react-design-editor copied to clipboard

[Refactor] Refactor Code Smells reported by ReactSniffer tool

Open henoktx opened this issue 1 year ago • 0 comments

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.

henoktx avatar Nov 28 '23 04:11 henoktx