# CodeMirror

Hacker Approved page: https://hackerapproved.com/p/codemirror/

9 people recommended CodeMirror in Hacker News comments, 6 had mixed feelings and 1 criticized it, November 2025 to October 2026. It was recommended in 5 of 12 months, in 8 threads. It does not meet the Hacker Approved badge rule.

**Verdict:** 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.

Summary written by Claude from 16 comments.

## Why people recommend it

- Good base for building editors (3 comments in the sample): "CodeMirror as the basic building block, which is great, but it does not support WYSIWYG table editing out of the box" ([source](https://news.ycombinator.com/item?id=47320031)) "CodeMirror/Monaco (realistically just use, not build" ([source](https://news.ycombinator.com/item?id=48489467)) "just using Monaco or https://codemirror.net/" ([source](https://news.ycombinator.com/item?id=49517329))
- Go-to library for many developers (2 comments in the sample): "CodeMirror and ProseMirror are impressive works and my current go-to libraries" ([source](https://news.ycombinator.com/item?id=48030880)) "code mirror is already good" ([source](https://news.ycombinator.com/item?id=48694101))
- Rich feature set, like Obsidian (2 comments in the sample): "I went with CodeMirror because I enjoy the feature-set of the obsidian editor" ([source](https://news.ycombinator.com/item?id=47381430)) "I was marveled at what it could do" ([source](https://news.ycombinator.com/item?id=48031113))
- Works with Yjs and tiptap (2 comments in the sample): "Interesting using tiptap with codemirror" ([source](https://news.ycombinator.com/item?id=48680898)) "Good to see CodeMirror and yjs in there." ([source](https://news.ycombinator.com/item?id=48683097))

## The badge

A product earns the Hacker Approved badge when at least 10 people recommend it, recommenders outnumber critics at least 2 to 1 (mixed feelings count toward neither side), it was recommended in at least 4 of the 12 months and in at least 5 different threads, and no single thread supplies more than half of the people who recommend it. Health and money products are never badged.

## Cite as

Hacker Approved, "CodeMirror", https://hackerapproved.com/p/codemirror/ (9 recommend, 6 mixed, 1 criticize; Hacker News comments, November 2025 to October 2026).

Counts updated 2 Nov 2026, with data through October 31, 2026.
