今天测试taro转钉钉E应用的时候,在模拟器上没事,但是在真机上却报错了: You are currently using minified code outside of NODE_ENV === "production". This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-env…
运用redux有一段时间了,包括redux-thunk和redux-saga处理异步action都有一定的涉及,现在技术栈转向阿里的dva+antd,好用得不要不要的,但是需要知己知彼要对react家族有一点源码上的深入了,就从redux开始吧. redux源码是那么简洁.清晰.干净,让我忍不住一口气全部看完了还意犹未尽的写一篇随笔,mark一下,过段时间回头再重新细细评味学习一波.原谅我把整片代码贴出来,因为我懒啊,我会尽量把代码注解写详细一点. index redux对外暴露出的api,…
If you aren't familiar with state management libraries like Redux or MobX, don't use context. For many practical applications, these libraries and their React bindings are a good choice for managing state that is relevant to many components. It is fa…