Open Queist opened 2 years ago
Sorry for the late reply.
In short, it really depends on what you build. I can give you more concrete advice if you elaborate on your case in more detail. Please feel free to ask via e-mail or zoom.
Speaking of Github Issues, to the extent of my knowledge the new issue does not automatically show up to the list unless a user takes some action (eg. refresh the page or go to some other page and then come back to the issues page, etc.)
I'm not sure how to synchronize the db and react state of the django server.
For example, on GitHub, when another user writes an issue, new issues are reflected in the list in real time even if I do not take any action.
Updating the react state by periodically sending get requests to the server doesn't seem to be the right synchronization method.
Is there some other way to enable synchronization between the frontend and backend?
I tried a search, but I didn't know what keyword to search for, so I asked. :(