Redux: What is a correct way to add items in reducer?

前端 未结 0 1106
难免孤独
难免孤独 2020-12-11 00:27

I have a question for you, imaging there is an initial state like this,

const initialState = {
  services: [],
  service: {},
  loading: true
};
相关标签:
回答
  • 消灭零回复
提交回复
热议问题