Integrate Redux for state management, replace useState with Redux store

This commit is contained in:
2024-07-07 15:57:29 +08:00
parent 47d1867cab
commit cdac16a723
11 changed files with 196 additions and 129 deletions

View File

@@ -12,6 +12,7 @@
"@expo/vector-icons": "^14.0.2",
"@react-navigation/bottom-tabs": "^6.5.20",
"@react-navigation/native": "^6.1.17",
"@reduxjs/toolkit": "^2.2.6",
"axios": "^1.7.2",
"expo": "~51.0.11",
"expo-camera": "~15.0.10",
@@ -21,7 +22,9 @@
"react": "18.2.0",
"react-native": "0.74.2",
"react-native-qrcode-svg": "^6.3.1",
"react-native-safe-area-context": "^4.10.4"
"react-native-safe-area-context": "^4.10.4",
"react-redux": "^9.1.2",
"redux": "^5.0.1"
},
"devDependencies": {
"@babel/core": "^7.20.0",