shaozhiyuan
Results
1
issues of
shaozhiyuan
在 redux_basic, redux_smart_dumb, redux_with_context 实现 componentWillUnmount 时都用了 ``` componentWillUnmount() { this.context.store.unsubscribe(this.onChange); } ``` Redux store 没有 unsubscribe 这个 api,但是由于 这个几个例子中 componentWillUnmount 永远不会被调用,所以构建和运行时并不会报错。