Nested produce calls are not working as expected

前端 未结 0 974
隐瞒了意图╮
隐瞒了意图╮ 2020-12-04 14:32
const { produce } = require("immer");

const outer = produce((draft) => {
  return inner(draft);
}, {});

const inner = produce((draft) => {
  draft.         


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