including:
unread invitations count
watchings count
gamification
points/currency
rank
user abilities
system messages
basically the idea here is that as soon as the user logs in we're going to want to show them an unread invitations badge and subscribe them to round locks they were watching (perhaps a bit of an edge case) and so on.
by just showing the counts, we dont push the db too hard to get this data, it gets encapsulated in a single http request, and subsequent requests need not be made unless the return shows a >0 count for a resource. ✨
including:
basically the idea here is that as soon as the user logs in we're going to want to show them an unread invitations badge and subscribe them to round locks they were watching (perhaps a bit of an edge case) and so on.
by just showing the counts, we dont push the db too hard to get this data, it gets encapsulated in a single http request, and subsequent requests need not be made unless the return shows a >0 count for a resource. ✨