Just upgraded @reduxjs/toolkit to 2.0.1 and ran into: "The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead"
Wiskey! Tango! Foxtrot!
Rationale here:
https://github.com/reduxjs/redux-toolkit/releases/tag/v2.0.0
"works much better with TypeScript." doesn't carry much weight with me and I rather liked the old syntax. Found it compact and readable.
Sigh!