Open nguyenhoaikhang37 opened 1 year ago
Good work 👍 I love your details.
Final result: ✅ passed 70% of requirements
Good implementation of dark-theme with CSS variables 👍
Good project structure 👍 I'd suggest you break down App.js
even further, though, as the logic is getting really kind of hard to follow
Good naming, but could be a bit better. Some nitpicks:
App.js
, attr
-> bookFormDialogAttr
. Considering all the logic around it, attr
alone doesn't make much sense.App.js
, handleSubmit
-> handleSubmitBookForm
App.js
, firstInputRef
is totally randomEven though they are all minor, having more precise names will make your code more read-able.
autoFocus
propertyDialog
component to only render children (the form) if it's open. This will ensure autoFocus
work as it only triggers once on mount
// Demo link https://df-frontend-2023-4pgp.vercel.app/
// Any notes for reviewers If the code lacks clarify or if there are any issue with the application, please don't hesitate to provide feedback. I'm open to suggestions and eager to improve. Thanks a lot <3