firebase - Best way to handle a 'Like' Count -
say have list of cards, each card has 'like' count.. how many times users have liked card throughout app. likes in facebook status
in app, dosesn't seem practice real-time counter active on each card.. performance issues, etc.
so on pull refresh, query checks last key got , looks new queries added. however, apparently, same count change on of our previous loaded down cards. there practices way update these counts? or on each 1 query updated count? if have 15 cards 15 individual queries. figured reload everything.. seems inefficient
any ideas? have been trying figure out how apps twitter , facebook pull off
Comments
Post a Comment