lexical vs prosemirror-state

Side-by-side comparison of lexical and prosemirror-state

lexical v0.40.0 MIT
Weekly Downloads
1.9M
Stars
22.9K
Gzip Size
46.9 kB
License
MIT
Last Updated
3h ago
Open Issues
589
Forks
2.1K
Unpacked Size
1.6 MB
Dependencies
1
prosemirror-state v1.4.4 MIT
Weekly Downloads
5.5M
Stars
230
Gzip Size
19.6 kB
License
MIT
Last Updated
3mo ago
Open Issues
0
Forks
75
Unpacked Size
184.0 kB
Dependencies
4

Download Trends

Download trends for lexical and prosemirror-state04.9M9.9M14.8M19.7MFeb 25May 25Aug 25Nov 25Feb 26
lexical
prosemirror-state

Verdict

lexical is an extensible text editor framework that excels in providing reliability and performance, making it suitable for applications that require a robust rich text editing experience. In contrast, prosemirror-state focuses specifically on managing the state of ProseMirror editors, catering well to those who need a dedicated state management solution for text editors.

For larger projects or teams with experience in extensible frameworks, lexical would be a strong choice due to its higher weekly downloads and significant community engagement on GitHub. However, for simpler projects or those specifically utilizing ProseMirror, adopting prosemirror-state might be advantageous because of its focused purpose and smaller bundle size.

Migration considerations could include the complexity of integrating lexical versus the straightforward implementation of prosemirror-state. While lexical may introduce a steeper learning curve for newcomers, prosemirror-state's focused methodology might streamline development processes for state management in ProseMirror-based applications.

Detailed Comparison

Criteria lexical prosemirror-state
License Licensed under MIT, fostering open-source collaboration. Also licensed under MIT, allowing for similar freedoms.
Version Latest version is 0.40.0. Latest version is 1.4.4.
Description Provides text editing framework with extensibility and reliability. Focuses solely on editor state management.
Open Issues 589 open issues signal potential areas for improvement. Zero open issues suggest stability or lower usage.
GitHub Forks 2.1K forks suggest active development and experimentation. 75 forks, pointing to limited exploration.
GitHub Stars 22.9K stars reflect substantial community interest. 230 stars, indicating a more niche audience.
Last Updated Last updated in February 2026, indicating ongoing maintenance. Last updated in October 2025, still relevant.
Unpacked Size 1.6 MB may lead to larger payloads. 184.0 kB indicates a more lightweight library.
Learning Curve Potentially steeper due to extensibility. Easier integration with existing ProseMirror setups.
Target Use Cases Best suited for complex, extensible text editing applications. Ideal for customized state management in ProseMirror editors.
Weekly Downloads 1.9 million downloads indicate strong usage. 5.5 million downloads suggest higher popularity and trust.
Bundle Size (gzip) 46.9 kB, comparatively larger payload. 19.6 kB, optimized for performance.

Related Comparisons