Closed bowheart closed 1 year ago
Since we introduced injectSelf, injectInvalidate isn't necessary. Deprecate it. We'll plan to remove it in Zedux v2.
injectSelf
injectInvalidate
Use the following pattern instead:
const self = injectSelf() // then in a callback or effect: self.invalidate()
Description
Since we introduced
injectSelf
,injectInvalidate
isn't necessary. Deprecate it. We'll plan to remove it in Zedux v2.Use the following pattern instead: