How to push to array value of reducer state in redux toolkit?

后端 未结 0 1259
失恋的感觉
失恋的感觉 2020-12-10 14:21

I have a simple reducer function

addNewNotification(state, action: PayloadAction) {
  const { notifications } = state;
  const { payload         


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