For the curious, here’s a breakdown of the overhead of prosemirror in a shadow-cljs project:
The React bridge package of use-prosemirror is just 2kb.
use-prosemirror