Reducer code for handling normalized state that gets out of sync

前端 未结 0 610
面向向阳花
面向向阳花 2021-02-06 05:54

Suppose I have a normalized piece of state that looks like this, say for a todo list:

{
  ids: [1,2,3,4],
  dataEntities: {
     1: { //the todo item name, conten         


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