News for hackers. Stuff that matters.
Re:CodeMirror 6 by jrv on Friday February 05, 2021 @02:51PM (#26040439)
I use it in React by pointing the setup code at a ref of the CodeMirror div container and then I store the CodeMirror View object in another separate ref of the component so I have access to it from other places. Slightly awkward, but seems to work fine.

There are no comments on this comment yet.