I realized while testing this with a much larger project today that this PR adds a problem: if the identity of the mutate function does happen to change, the abort() function no longer gets called with the prior instance's abort handler, but the current instance's abort handler! I am working on a fix for this, but in the meantime, #335 should just be reverted in a bugfix release.
Reverts contiamo/restful-react#335
I realized while testing this with a much larger project today that this PR adds a problem: if the identity of the mutate function does happen to change, the
abort()
function no longer gets called with the prior instance's abort handler, but the current instance's abort handler! I am working on a fix for this, but in the meantime, #335 should just be reverted in a bugfix release.