Comments (6)
@stevenroh Thanks for the kind words! And enjoy the new version of the starter with plenty of improvements
from expo-starter.
Hi @stevenroh! Thanks for commenting on that. You are right, it should be exactly there where you put it. I am preparing new update with up-to-date Expo SDK and other packages. Also with some more improvements as in rnn-starter. And also, problem with stores.ui
is fixed there. I will publish it today or following days.
from expo-starter.
Hi @brvangarcia! Thank you! You can ignore warnings, they didn’t affect any app I’ve been building bootstrapped from the starter. But yeah, I will do something to get rid of them once I have more free time.
About the error, I have just checked and everything seems to be working on my end. Did you apply any changes on your end? Or it just didn’t work from the beginning?
It happened to me some time ago, but the problem was with the code. I don’t remember what it was exactly about but it was easy to fix.
from expo-starter.
Thanks, bro. Cool, I'll dismiss the warning and the error was a library that I installed.
from expo-starter.
Hi,
Not sure what happened on my app. I got the same error (app was crashing and saying _stores.stores.ui
was undefined).
I moved const {ui} = stores;
to init()
and it's now working.
Maybe the store was not ready ?
import * as Font from 'expo-font';
import {IconComponent} from '../components/icon';
import {stores} from '../stores';
export class OnStart implements IService {
private inited = false;
init = async (): PVoid => {
const {ui} = stores; // <== Moved ui var here
if (!this.inited) {
ui.incAppLaunces();
await this.loadAssets();
this.inited = true;
}
};
private loadAssets = async () => {
const fonts = [IconComponent.font];
const fontAssets = fonts.map(font => Font.loadAsync(font));
await Promise.all([...fontAssets]);
};
}
from expo-starter.
Hi @kanzitelli !
Thanks for the fast update. Amazing work, thanks for this starter
from expo-starter.
Related Issues (20)
- Mobx frozen Error HOT 3
- Changing the language or appearance crashes the app in release build HOT 2
- Camera indicator light remains on even when Camera is unmounted HOT 4
- "Store.name" creates duplicates once published HOT 3
- route props on options HOT 3
- Update dependecies HOT 1
- Possible Unhandled Promise Rejection (id:0) HOT 1
- ApiV2Error: Entity Not Authorized HOT 3
- Hide tab bar for specific screen. HOT 9
- Deep linking support HOT 6
- How to get route.params? HOT 1
- yarn start --web HOT 6
- Can I do auth flow like below? HOT 1
- upgrade to rnuilib v7 HOT 1
- How to pass variable to stack HOT 1
- Newbie questions (mmkv, auth) HOT 2
- Params doesn't seem to work. HOT 2
- How to pop to the first screen of the stack when the user presses the back button HOT 1
- expo production build error HOT 1
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-starter.