You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.
If you POST a new comment at the same time you poll, the optimistic GUI update occurs, then if the poll returns before the POST, it'll cause the comment on the GUI to disappear again until the POST returns. So you get a little flash before the comment appears permanently.
The text was updated successfully, but these errors were encountered:
Thanks for noticing, you are now ready to go build your own version that handles that better 😀. This is not meant to be a production ready and resilient application, only an example for educative purposes. We wanted to focus on the React part as much as possible and not spend too much time making a big deal about the data fetching and server-side aspects.
If you POST a new comment at the same time you poll, the optimistic GUI update occurs, then if the poll returns before the POST, it'll cause the comment on the GUI to disappear again until the POST returns. So you get a little flash before the comment appears permanently.
The text was updated successfully, but these errors were encountered: