From 0fd892ad288f2e1eaaa4fdf5e1fd6f15dbd45860 Mon Sep 17 00:00:00 2001 From: Ashm Walia <40498934+ashmgarv@users.noreply.github.com> Date: Fri, 4 Dec 2020 08:50:24 -0800 Subject: [TMA - 398 AND TMA-430] Replace Providers with Redux Store (#125) * First * WIP * Thunk * Some more comments * sc * recent searches and follounfollow * Edit profile dummy * Block / unblock and some cleanup * Replace auth provider * Sc * Delete AP after rebase * Discover users * Cleanup * More cleanup * Replace profile provider * Fixed build failure * Fixed a bug reported * Prevent app crash when backend server is down --- package.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package.json') diff --git a/package.json b/package.json index 91f30119..6dde38d1 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "@react-navigation/bottom-tabs": "^5.7.2", "@react-navigation/native": "^5.6.1", "@react-navigation/stack": "^5.6.2", + "@reduxjs/toolkit": "^1.4.0", "@types/react-native-vector-icons": "^6.4.5", "moment": "^2.29.1", "react": "16.13.1", @@ -39,6 +40,7 @@ "react-native-svg": "^12.1.0", "react-native-vector-icons": "^7.0.0", "react-promise-tracker": "^2.1.0", + "react-redux": "^7.2.2", "reanimated-bottom-sheet": "^1.0.0-alpha.22", "rn-fetch-blob": "^0.12.0" }, @@ -49,6 +51,7 @@ "@types/jest": "^24.0.24", "@types/react-native": "^0.62.0", "@types/react-native-snap-carousel": "^3.8.2", + "@types/react-redux": "^7.1.11", "@types/react-test-renderer": "16.9.2", "@typescript-eslint/eslint-plugin": "^2.27.0", "@typescript-eslint/parser": "^2.27.0", -- cgit v1.2.3-70-g09d2