Breaking change from redux-toolkit@1.9.6
: Error: builder.addCase
cannot be called with an empty action type
#558
Labels
redux-toolkit@1.9.6
: Error: builder.addCase
cannot be called with an empty action type
#558
Describe the bug
next-redux-wrapper@8.1.0
is incompatible with@reduxjs/redux-toolkit@1.9.6
due to this breaking change inredux-toolkit
:Following the instructions provided in
next-redux-wrapper
,configureStore
will throw the following error as ofv1.9.6
:Error: 'builder.addCase' cannot be called with an empty action type
.This is more of a notice to the package maintainers as opposed to a request for change, since the bug was initiated in
redux-toolkit
. I already filed an issue with them here.To Reproduce
next-redux-wrapper
withredux-toolkit@1.9.6
.Expected behavior
The action supplied to
builder.addCase
should have a type.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: