new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Expo · EAS · all subjects

build execution

8 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

EAS Build purpose

EAS Build compiles and signs Android and iOS apps with custom native code in the cloud.

Development and production modes overview

Your project will always run in either development or production mode. By default, running your project locally with `npx expo start` runs it in development mode, whereas a published project (with `eas update`), or any standalone app, will run in production mode.

Development mode features

Development mode includes useful warnings and gives you access to tools that make development and debugging easier. React Native development tools include remote JavaScript debugging in Chrome, live reload, hot reloading, and an element inspector similar to the Chrome inspector. Development mode also performs validations while your app is running to give you warnings, for example if you're using a deprecated property or if you forgot to pass a required property into a component.

Production mode performance impact

Production mode minifies your code and better represents the performance your app will have on end users' devices. Your app runs slower in development mode, so any time you are testing your app's performance, make sure to disable development mode.

Switch between development and production mode

You can switch development mode on and off with the Expo CLI. When you switch it, close and re-open your app for the change to take effect.

Simulate production mode locally

The easiest way to simulate how your project will run on end users' devices is with the command `npx expo start --no-dev --minify`. It runs the JavaScript of your app in production mode (which tells the Metro bundler to set the `__DEV__` environment variable to `false`, among a few other things). The `--minify` flag minifies your app and eliminates unnecessary data such as comments, formatting, and unused code.

Console logs in production mode

In production mode, console logs do not appear in the Expo CLI terminal. To access them through the native logs on your device, you can view console logs in production mode through the device's native logging system.

Use cases for production mode

Production mode is most useful for testing your app's performance, as development mode slows your app down considerably, and for catching bugs that only show up in production. If you are getting an error or crash in your standalone app, running your project with the production mode command can save you a lot of time in finding the root cause.

Give your agent this brain