---
title: "Pawel (@kossy77) | Hashnode"
description: "Pawel (@kossy77) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@kossy77"
---

@kossy77

# Pawel

@kossy77 · Joined January 2021

## Comments

[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.](https://hashnode.com/posts/build-a-mysql-nodejs-crud-app-3-the-client-side-with-react/5ffce16f09213c08384760c9/comment/600f5e7f9d3cb25c41e0a4f4)

Comment · Article · Jan 26, 2021 · [Build a MySQL Node.js CRUD App #3: The Client-Side with React](https://hashnode.com/posts/build-a-mysql-nodejs-crud-app-3-the-client-side-with-react/5ffce16f09213c08384760c9)
