Adding new data in state with redux
I have a code as below. I want to have a reducer to update array of profiles when they are existed and add new one if they are not. The below code is just profile need to make it for array as you can see payload is array. Thanks for the help.
I hope the Image and explanation would be enough. Thanks.
from Recent Questions - Stack Overflow https://ift.tt/3sWwnRH
https://ift.tt/3gMufK1
Comments
Post a Comment