Comments (1)
The answer, as provided by StrapMobile, was to replace the contents of setup.js as seen above, by this:
'use strict';
import React, {Component} from 'React';
import App from './App';
import configureStore from './configureStore'
import {Provider} from 'react-redux';
import {StyleSheet, View, Text} from 'react-native';
export default class Root extends Component {
constructor() {
super();
this.state = {
isLoading: false,
store: configureStore(()=> this.setState({isLoading: false})),
};
}
render() {
return (
<Provider store={this.state.store}>
<App store={this.state.store} />
</Provider>
);
}
}
from expo.
Related Issues (20)
- How can I set different version numbers for android and ios? HOT 1
- Getting Error when build native Android project HOT 3
- Nested Navigating HOT 1
- [expo-image] Some images cause a crash on iOS when using `enableLiveTextInteraction` without `NSContactsUsageDescription` set
- [expo-camera/next 14.1.*] Expo Go app crashes when opening Camera HOT 7
- Error: Module "7" is missing from the asset registry [Expo 50, Expo-Router] HOT 3
- Default exporting unnamed function in layout causes navigation state loss on hot-reloading HOT 1
- [expo-router] Swipe-back gesture doesn't work on web HOT 1
- [expo-camera/next] Video does not record. HOT 2
- Set image as home screen/lock screen wallpaper HOT 1
- `eas update` in SDK 49 doesn't use Config.js, nor EAS eas.json env resulting app.config.ts not having proper ENV. HOT 2
- Login problem HOT 1
- Expo store review not working on android emulator HOT 6
- Unable to resolve "expo-sqlite/next" HOT 1
- How to remove the leading zero when scanning an UPC-A barcode scanner
- Text scrollEnabled doesn't affect behavior HOT 1
- Expo 50 and expo-router doesn't work in monorepo HOT 2
- [expo-image] share cached image using getCache PatchAsync HOT 1
- [expo-camera/next]: changing back camera to front camera doesn't work in sdk 50 HOT 5
- EAS Build not including local custom module when building HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expo.