Then there's setting state from outside the React tree. I need this when I'm deep in the bowels of prosemirror. xstate does a good job at this actually, but Zustand fundamentally doesn't like this.

In Jotai, you can say `getDefaultStore()` and `set()` from anywhere. No hooks ✨
Post image

Comments