I'm using the package puppeteer in nodeJS for screenshot of a signature. I'm saving the name, address, Phone etc - using useState Hook in React.
The screenshot function presents on server, as a GET func. but unfortunately, The text is invisible. I checked and found out that the state didn't update on server. In contrast , on client ,the variables does update.

