Mark Erikson
Mark Erikson
@alexburkowskypolysign Hmm. `clearCache()` _should_ be on both functions. Can you put together a CodeSandbox that shows the issue?
Uh... this is really bizarre, because TS _says_ it should be there as part of the typedef of `memoizedResultFunc`: ``` Property 'clearCache' does not exist on type '(args_0: any, args_1:...
Maybe? Unfortunately this isn't something I really have much time to look into in the near future. If you can identify an issue with the types or runtime behavior, definitely...
@dannielss It's... kinda complicated :) All the sandboxes live in https://github.com/reduxjs/redux-essentials-example-app . Specifically, it's the `tutorial-steps` branch, with tags applied to specific commits. To update the sandboxes, you'd actually have...
@MubashirWaheed : what parts of the sandboxes are broken, specifically?
We _could_ consider releasing this as a 4.2. Part of the issue is the whole debate over breaking changes in TS types. Ideally, there would be _no_ breaking changes in...
FWIW I just published https://github.com/reduxjs/redux/releases/tag/v4.2.0-alpha.0 from `master` so we can get feedback on real-world types compat.
Sure. To be clear, I don't intend to actually shove a 4.2.0 release out the door any time soon :) I'm just noting that since we were able to put...
Suggestion from https://twitter.com/sangster/status/1454563925480116225 : > Switching from a default of AnyAction to UnknownAction (ie, replace “any” with “unknown”) would be a breaking change but would likely help a lot of...
I don't think that's "controversial" at all :) tbh I'm actually surprised the types don't enforce that already. (I'd also be _mostly_ surprised to see any real-world code out there...