How do I use data from a payload array to mutate the state of a reducer?

后端 未结 0 1101
死守一世寂寞
死守一世寂寞 2021-01-29 07:43

Say I have an action that gets dispatched to a reducer to change its state and the payload of said action is an array of size 1. How would I address the elements of such an arra

相关标签:
回答
  • 消灭零回复
提交回复
热议问题