Skip to content

Using async action creator without the thunk? #3302

Answered by phryneas
hellos3b asked this question in Q&A
Discussion options

You must be logged in to vote

Yes and no - the action creators expect a lot of extra "meta information" that you manually barely can give them.

Can I ask why you use createReducer + createAction and not just createSlice? That would also make that generation of the pending action etc. less work.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hellos3b
Comment options

Answer selected by hellos3b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants