CodeMirror react component losing focus on input

Yes, unnecessary re-renders, and really unwanted indeed. Can you suggest a better approach to tackle this? would be really helpful!

1 Like