Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to change the number of retry and retry interval. Can anyone help, how I can configure my store to do that. #549

Open
nitesh047 opened this issue Oct 17, 2023 · 0 comments

Comments

@nitesh047
Copy link

nitesh047 commented Oct 17, 2023

This is my store for now.

import {createStore, applyMiddleware,compose} from 'redux';
import thunk from 'redux-thunk';
import {persistStore, persistReducer} from 'redux-persist';
import reducers from './reducers';
import { offline } from '@redux-offline/redux-offline';
import offlineConfig from '@redux-offline/redux-offline/lib/defaults'
import AsyncStorage from '@react-native-async-storage/async-storage';

n
export const store = createStore(
reducers,{}, compose(applyMiddleware(thunk), offline(OfflineConfig) )
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant