1. install redux-logger

npm i redux-logger or yarn add redux-logger
2.configure store:

import AsyncStorage from ‘@react-native-async-storage/async-storage’;

import rootReducers from ‘app/store/slice’;

import { createLogger } from ‘redux-logger’;

import { configureStore } from ‘@reduxjs/toolkit’;

const config = {

key: ‘root’,

storage: AsyncStorage,

blacklist: [‘loading’],

debug: true, //to get useful logging

};

import {…