Closed ehsuGit closed 1 month ago
Duplicated code: the list is duplicated many times. You can create a common list of the fields and then refer to them in your functions Dry principles: define and dumpOne both have repeated fields
Files names should use camel case
Refactor handling of the long list of parameters. It is used multiple times.
Architecture 02 - File name is BalanceSheetInputsCollection, folder is named BalanceSheetInput and other file is BalanceSheetInputSchema. Change file name to BalanceSheetInputCollection Design 01/08 - The huge blocks of input data could be stored somewhere else, duplicated 4 times in the code 09 - Duplicated code could be moved somewhere else for reuse JS and ESLint OK React OK
File name can be changed to keep consistency Duplicate code that also seems a bit too long to use as a parameter
Please review the BalanceSheetInputsCollection.js, linked here
Use these guidelines:
DUE: 10/7