CodeMirror
Code editor library in Developer tools
Recommended as a flexible, lightweight, mobile-friendly code editor library that handles browser quirks for you. Common caveats: the docs are sometimes lacking, and it needs a lot of client-side JavaScript.
9 people recommended CodeMirror in Hacker News comments, 6 had mixed feelings and 1 criticized it, November 2025 to October 2026.
Summary written by Claude from 16 comments.
16 people gave an opinion
- recommend it
- 9
- mixed feelings
- 6
- warn against or regret it
- 1
The record
Recommended in 5 of 12 months
In 8 different threads.
- November 2025: not recommended
- December 2025: not recommended
- January 2026: recommended
- February 2026: not recommended
- March 2026: recommended
- April 2026: not recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: not recommended
- August 2026: not recommended
- September 2026: recommended
- October 2026: not recommended
Why it doesn’t carry the badge
- 9 people recommend itNeeds 10 or more, not met.
- 9 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 5 of 12 monthsNeeds 4 or more, met.
- Recommended in 8 threadsNeeds 5 or more, met.
- The biggest thread supplies 22% of its recommendersNeeds half or less, met.
The same rules apply to every product, and the badge can’t be bought. Mixed feelings count toward neither side. How the badge works
What people say about it
Reasons grouped from a sample of 16 of the 18 opinions about it, picked in proportion to how many people recommend it, have mixed feelings and criticize it. Each mark is one comment in the sample. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Good base for building editors
“CodeMirror as the basic building block, which is great, but it does not support WYSIWYG table editing out of the box”
Comment from 10 Mar 2026 in “Things I've Done with AI” “CodeMirror/Monaco (realistically just use, not build”
Comment from 11 Jun 2026 in “Show HN: Extend UI – open-source UI kit for modern document apps” “just using Monaco or https://codemirror.net/”
Comment from 1 Sep 2026 in “Show HN: Markdown Viewer and Editor” Go-to library for many developers
“CodeMirror and ProseMirror are impressive works and my current go-to libraries”
Comment from 6 May 2026 in “Collaborative Editing in CodeMirror” “code mirror is already good”
Comment from 27 Jun 2026 in “U.S. government will decide who gets to use GPT-5.6” Rich feature set, like Obsidian
“I went with CodeMirror because I enjoy the feature-set of the obsidian editor”
Comment from 14 Mar 2026 in “Show HN: Ichinichi – One note per day, E2E encrypted, local-first” “I was marveled at what it could do”
Comment from 6 May 2026 in “Collaborative Editing in CodeMirror” Works with Yjs and tiptap
“Interesting using tiptap with codemirror”
Comment from 26 Jun 2026 in “Show HN: OpenKnowledge – open-source alternative to Obsidian/Notion” “Good to see CodeMirror and yjs in there.”
Comment from 26 Jun 2026 in “Show HN: OpenKnowledge – open-source alternative to Obsidian/Notion”
What people said
16 of the 18 opinions about it, picked in proportion to the three counts, newest first. Each links to the original comment.
“which is like Monaco but more lightweight”
“It's an amazing project but I always found the docs lacking.”
“abstracts away all the browser-specific edge cases and quirks for you”
“just using Monaco or https://codemirror.net/”
“code mirror is already good”
“Good to see CodeMirror and yjs in there.”
“Interesting using tiptap with codemirror”
“CodeMirror/Monaco (realistically just use, not build”
“I was marveled at what it could do”
“CodeMirror and ProseMirror are impressive works and my current go-to libraries”
“still requires a lot of clientside JavaScript”
“I was in the Codemirror forums trying to get help”
“I went with CodeMirror because I enjoy the feature-set of the obsidian editor”
“CodeMirror as the basic building block, which is great, but it does not support WYSIWYG table editing out of the box”
“not only is it much more performant but also mobile friendly”
“they're interpreting mouse inputs, cancelling default behavior and selecting text themselves”
Counts come from 1,791,911 Hacker News comments labeled by Claude, November 2025 to October 2026, with data through October 31, 2026. Counts updated 2 Nov 2026. How we count. Report a mistake.