DEV Community

Discussion on: Modern React Redux Tutorials with Redux toolkit - 2020

Collapse
 
lizzymendivil profile image
Lizzy Mendivil

Hi! Thanks for the article. I have something to ask please... if you already use createSlice, you should not use createAction and createReducer? I mean, you are not using those in your example app.

Collapse
 
ganeshmani profile image
GaneshMani

yes. createSlice is a simplified way to use both createAction and createReducer. it helps us to save time and less code.