|
|
|
|
|
by tomjen3
4131 days ago
|
|
On an architecture like Facebook they don't have a database and it wouldn't surprise me at all if the unread count was computed before you logged on. If you want to hide that for the client (so that it actually goes away the moment you click the notification) then you need to use some client state and when you need client state you can't just send dom objects. In general things gets way, way, way more complicated once your system becomes "distributed". |
|