Improve the reducer. By default, it must return the initial state.
ADD_LIST should call the
addListResult method, the case
At the same time, you always need to return the result of the call of the method with the corresponding arguments.
SET_LOADING should save passed
payload in the field
SET_STORAGE_DATA, you need to merge the
payload to the copy of the state.
If you have any issues with it, you can ask for community help below the post.
Feel free to help others if you’ve already solved the task.