PartyLayer/PartyLayer: docs/react-optimistic-updates.md
Optimistic updates and automatic rollback (React mutation hooks) PartyLayer's mutation hooks (useConnect, useDisconnect, useSignMessage, useSubmitTransaction, useChoice) are thin wrappers over TanStack useMutation. They manage only mutationFn and mutationKey; every lifecycle callback (onMutate,…