Very helpful, I read two books about express js to make CRUD app, but they did not help. However, this article fastly taught me all about it.
Hello, I am a new learner, So I have a question about step 3 create reviews. I followed your code but it gives an error with const { register, handleSubmit }, please can you write the return form code?
I see one little problem with useState and }, [reviews]). This generates continuos requests to api by getReviews function. Try put console.log inside that function. I saw the same problem in other similar articles. IMO better is let useState has empty [ ], and call getReviews function from each components that make change to database. End effect is the same and there is no unnecessary api requests.
This is amazing πππ Thanks for sharing
You really dedicated your time into this series.
Nice work by the way π π
Oybek Akhmadjonov
Student
Is there a GitHub link?