New package `prosemirror-async-query` for managing promises in prosemirror plugins

Prosemirror-async-query is a simple declarative API for using promises in prosemirror plugins.

If you’ve ever tried using promises in prosemirror, you’re probably aware that integrating promises into prosemirror’s data flow requires a careful dance of dispatching transactions, reacting to transactions, and updating plugin state. Prosemirror-async-query handles almost all the hard parts of managing promises, exposing a simple API that lets you create promises and react to their success, loading, or error states. Check out the project readme for more information!

3 Likes

Thanks for open sourcing it! :raised_hands: