I have worked a lot ago with redux. And i wasn’t so sure what the best way to use redux. Recently I moved to redux-toolkit. One thing that makes me think, that when should i need to create a new reducer.
for example If i have a reducer for currentUser. and In future If i need to fetch all the post of all users. and comment from a specific post. should i create 3 reducer. like
userReducer postReducer commentReducer
or I just combine all of them in a single reducer.