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
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@DennisHack Subscriptions are a way for the backend to communicate when a list has been updated.
So, for example we have a request every minute for ever user from the frontend to ask for that user's notifications. This is not a good idea, for several reasons. The backend should be able to communicate when there are new notifications for that specific user.
Also, we have people that would like to know when there are new posts without needing to refresh the page. This is the way the backend can communicate with the frontend that there are new Post that can be loaded by the user.
Also, when we get passed this hurtle, we will have websockets set up for the site, which means it might make it easier to have a simple chat, depending on the route we go with that.
馃殌 Feature
We should set up
Subscriptions
for our site.https://vue-apollo.netlify.com/guide/apollo/subscriptions.html#setup
With
Subscriptions
, we can update ourNewsFeed
,NotificationsMenu
, etc... when there are changesThe text was updated successfully, but these errors were encountered: