matrix-react-sdk
1e095e10 - Don't update state when no change to read marker

Commit
9 years ago
Don't update state when no change to read marker It turns out to be quite expensive to update the state, because we can't do shouldComponentUpdate on any of the sub-components (because RRs and local echo sneak in through the back door), and we don't want to trigger a whole render cycle every time someone presses a key.
Author
Parents
Loading