Open victhangnguyen opened 1 year ago
Hello @victhangnguyen , great work! Below is some feedback for your assignment.
Final result: ✅ passed 90% of requirements
Enable noImplicitAny
to reveal the implicit any
types.
https://github.com/victhangnguyen/df-frontend-2023/blob/65a556fc3208082ec635e6c197940411e1c0cb23/assignment-3/tsconfig.json#L18
https://github.com/victhangnguyen/df-frontend-2023/blob/65a556fc3208082ec635e6c197940411e1c0cb23/assignment-3/src/components/Modal/ConfirmationModal.tsx#L17
https://github.com/victhangnguyen/df-frontend-2023/blob/65a556fc3208082ec635e6c197940411e1c0cb23/assignment-3/src/components/Pagination/index.tsx#L44
https://github.com/victhangnguyen/df-frontend-2023/blob/65a556fc3208082ec635e6c197940411e1c0cb23/assignment-3/src/components/Table/index.tsx#L3-L4
...
Should move type of component props to the component which it belongs to. https://github.com/victhangnguyen/df-frontend-2023/blob/65a556fc3208082ec635e6c197940411e1c0cb23/assignment-3/src/types/Button.tsx https://github.com/victhangnguyen/df-frontend-2023/blob/65a556fc3208082ec635e6c197940411e1c0cb23/assignment-3/src/types/Icon.tsx https://github.com/victhangnguyen/df-frontend-2023/blob/65a556fc3208082ec635e6c197940411e1c0cb23/assignment-3/src/types/Modal.tsx ...
Because you set the initial value for useState
already, don't need to explicitly declare the type for it.
https://github.com/victhangnguyen/df-frontend-2023/blob/65a556fc3208082ec635e6c197940411e1c0cb23/assignment-3/src/pages/Home/index.tsx#L16-L20
https://github.com/victhangnguyen/df-frontend-2023/blob/65a556fc3208082ec635e6c197940411e1c0cb23/assignment-3/src/pages/Home/index.tsx#L23-L30
...
//Demo Link: https://df-frontend-2023-two.vercel.app/