'How can I solve this problem when the data put on mongodb but state are not updadte ui?
I want the state to update everytime a new entry is added to MongoDB, so the user doesn't have to refresh and gets real time data.
Is there anyway I can call the useEffect function from the server side file or is there some way I can detect inside the react app when new data is added?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
