feat: 初始化mobx以及storage
Showing
... | @@ -14,14 +14,19 @@ | ... | @@ -14,14 +14,19 @@ |
"lint": "eslint . --ext .js,.jsx,.ts,.tsx" | "lint": "eslint . --ext .js,.jsx,.ts,.tsx" | ||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"@react-native-async-storage/async-storage": "^1.17.11", | |||
"@react-navigation/bottom-tabs": "^6.4.0", | "@react-navigation/bottom-tabs": "^6.4.0", | ||
"@react-navigation/native": "^6.0.13", | "@react-navigation/native": "^6.0.13", | ||
"@react-navigation/native-stack": "^6.9.1", | "@react-navigation/native-stack": "^6.9.1", | ||
"@react-navigation/stack": "^6.3.4", | "@react-navigation/stack": "^6.3.4", | ||
"mobx": "^6.7.0", | |||
"mobx-react": "^7.6.0", | |||
"mobx-react-lite": "^3.4.0", | |||
"react": "18.1.0", | "react": "18.1.0", | ||
"react-native": "0.70.6", | "react-native": "0.70.6", | ||
"react-native-safe-area-context": "^4.4.1", | "react-native-safe-area-context": "^4.4.1", | ||
"react-native-screens": "^3.18.2" | "react-native-screens": "^3.18.2", | ||
"react-native-storage": "^1.0.1" | |||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@babel/core": "^7.12.9", | "@babel/core": "^7.12.9", | ||
... | ... |
src/constants/index.ts
0 → 100644
src/constants/user.ts
0 → 100644
src/global.d.ts
0 → 100644
src/store/index.ts
0 → 100644
src/store/rootStore/index.ts
0 → 100644
src/store/rootStore/model.ts
0 → 100644
src/store/useStores.tsx
0 → 100644
src/store/userStore/index.ts
0 → 100644
src/store/userStore/model.ts
0 → 100644
src/utils/storage.ts
0 → 100644
This diff is collapsed.
Please
register
or
sign in
to comment