You did great by showing an empty list if no data was found in the list.
Changes Required ♻️
You can set a minimal form validation for empty form-data not to be sent to the list
Clear the form fields once a book is added to the list
In order to call a function before it's declared. You're doing hoisting, calling a function before it's been declared. You can use the function keyword so ESLint won't flag you an error or put it in a separate file and export then import the file where you want to use it.
Peer-to-peer Code Review Feedback
Good work done so far 👍
Changes Required ♻️