EACT Redux CreateSlice ou CreaterDuces

A good source of help is to read the Redux Toolkit docs, where it says:

createSlice: A function that accepts an initial state, an object full of reducer functions, and a "slice name", and automatically generates action creators and action types that correspond to the reducers and state.

createReducer: A utility that simplifies creating Redux reducer functions. It uses Immer internally to drastically simplify immutable update logic by writing "mutative" code in your reducers, and supports directly mapping specific action types to case reducer functions that will update the state when that action is dispatched.

An important statement:

==)====>Internally, createSlice uses createAction and createReducer, [...]
Singh99