State Not Properly Updating

I am trying to display multiple CodeMirrors in a list, but it looks like the state is not properly updating when displayed in a list.

This problem is definitely 100% in your own code. The fact that it occurs in the state object that you yourself maintain should kind of have made that clear.