'Client rendering in NexJS
I have an issue with client-side rendering in NextJS I use the functional component style in my project, so I can use hook in the component to create card With my card, I have id card number that must be view, so I call API in Back-End and re-render when loading the page creates card. The first time, I create card successfully. After that, I back to my list-card page, and create card again, but my Id is same as the Id card which create successfully before. I put use-Effect which action call API update Id card. enter image description here
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
