`editorState` does not update until the composition ends, which probably is the cause here. https://jsfiddle.net/saschanaz/nsqkmuxg/
Bug 1576620 Comment 11 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
`editorState` does not update until the composition ends, which probably is the cause here. https://jsfiddle.net/saschanaz/nsqkmuxg/ This doesn't happen on Facebook though, which implies Twitter depends on a wrong object.