Skip to main content

Exodus


For start need initialize "Redux-Exodus"#

if you need use persists function you need initialize store with exodus. For local storage on web side exodus use windows.localStorage for react-native need set storage. Currently supportet only @react-native-async-storage/async-storage

Note: For WEB project no need set storage param.

// Only for react-native projectsimport AsyncStorage from '@react-native-async-storage/async-storage';

Exodus.init({  store,  storage: AsyncStorage,})
export default function Main() {  return (    <Provider store={Exodus.defaultSettings.store}>      <App />    </Provider>  )}

Parameters#

NameRequiredTypeDescription
SettingsfalseMainSettingsRedux exodus initialize params