Experiments with CodeMirror: Building a code review tool
Summary
This post documents experiments building a code-review tool with CodeMirror 6, focusing on a merge/diff workflow, state management, and dynamic editing features. It compares editor options, explains CodeMirror's concepts (State, View, Extensions, Facets), and walks through a practical implementation using the unified merge extension and compartments to enable/disable diffs during review.