counter_with_redux
app.js import React from 'react' ; import {} from 'react-native' ; import ScreenA from './ScreenA/index' ; import { Provider } from 'react-redux' ; import { store , persistor } from './redux/Store' ; // import { PersistGate } from 'redux-persist/integration/react'; import { PersistGate } from 'redux-persist/lib/integration/react' ; const App = () => { return ( < Provider store = { store } > < PersistGate persistor = { persistor } loading = {null} > < ScreenA /> </ PersistGate > </ Provider > ); }; export default App ; ******************************************************************** ******************************************************************* ScreenA index.js import React , { useState } from 'react' ; import { View , Text , Pressable , TextInput } from 'react-native' ; import styles from './styles'