immer源码阅读 第二个问题,通过produceProxy的代码,我们可以看到在调用外部传入的producer函数的时候,传给producer函数的是proxy,如果不使用[state],proxy代理的state就是一个对象。 mojianc 2019-06-28 02:51:20