Redux reducer state mutations and restoring initial state

前端 未结 0 370
南方客
南方客 2021-02-06 23:38

What\'s the best way to restore initial state? For this example let\'s say I can edit a car by dispatching the following actions:

dispatch(actions.editModel(\'Civ         


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