LetsCube icon indicating copy to clipboard operation
LetsCube copied to clipboard

Badge with number of unread messages

Open coder13 opened this issue 5 years ago • 0 comments

Somehow determine if a message has been read. We can maybe do this by seeing if it got mounted.

Then just display a badge with the number of unread messages.

We could store the number of unread messages in redux, increment it when a message is received and then decrement it when the message gets rendered.

coder13 avatar Apr 24 '20 23:04 coder13