How the heck do I use this with React?

I have created a library called bangle.dev which aims to add minimum wrapper around PM to work with React. You can find an introductory post Bangle.dev: higher level Prosemirror components.