salgum1114/react-design-editor

[Refactor] Refactor Code Smells reported by ReactSniffer tool

Opened this issue · 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.