Rebuilding ProseMirror's Renderer in React: A Tale of Two Libraries

2025-02-10

The author recounts their experience working on the New York Times' rich text editor, Oak, built with React and ProseMirror. The integration, however, proved problematic, leading to persistent bugs. After four years of grappling with the complexities of both libraries, the team opted to rewrite ProseMirror's renderer in React. This resolved issues like state tearing, resulting in a new library, @handlewithcare/react-prosemirror, boasting improved performance and compatibility.

Development Rich Text Editor