Taro-react-redux 微信小程序
Taro-react-redux 微信小程序
基本步骤都在
https://nervjs.github.io/taro/docs/redux/
会有2个问题
无法直接使用storage
PersistGate无法直接在app.tsx中使用
需要创建文件storage.ts,
import Taro from '@tarojs/taro';
export default {
getItem(key) {
return Promise.resolve().then(() => {
原创
2021-04-25 13:29:59 ·
756 阅读 ·
0 评论