Closed michaelisvy closed 1 year ago
@michaelisvy I've completed my review and would like to provide some general feedback.
It appears that the code could benefit from better organization and structure. For example, the use of hooks and functions. I encourage you to put a JSDoc comments to help us understand quickly your updates. Modularity helps developers to read the codebase and the logic fast ⚡️.
I noticed that there are 5 commits for 9 files. While it's not inherently bad to have multiple commits, it would be beneficial to group related changes together, at the end, before creating the PR. This helps provide a more concise overview of the changes. Consider squashing some commits that address similar functionality or changes please.
Please try to focus on typing by providing types/interfaces for pure functions, components, hooks calls or anything that can be typed. Typing helps to avoid mysterious unexplained issues, regressions or bugs. I suggest to look at React TypeScript Cheatsheets to learn more about typing in React.
Remember, we strive for a well-structured and maintainable codebase, so taking these considerations into account will contribute to the overall quality of the project. Also, make sure you're following the lint configurations.
Feel free to reach out if you have any questions or require further clarification on any of the points mentioned above.
Best regards,
Hi @nilshartmann and @firasrg Thanks for all your feedback to this PR. Can this PR be merged so that Michael can continue on other issues?
Hello @arey !
Sorry for the delay, I was absolutely off cuz of some holidays 😅.
I think this PR still needs to be reviewed but as it took enough time waiting. I think to merge it, but will consider the rest of the review points in upcoming issues.
Thanks
Thanks for the answer @firasrg and welcome back from holidays
Hi @michaelisvy,
great work! I added some commments to your changes, hope that's ok!