when we can pass value directly to 'state' redux

后端 未结 0 1492
臣服心动
臣服心动 2020-12-06 01:02

can we pass the value directly to the state in redux reducer like

export default (state = [], action) => {
  switch (action.type) {
    case \'FETCH_USER\'         


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