You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a React Native app is placed in debug mode, syntax errors break iOS emulators, which requires the iOS emulator to be force closed. Rather than serving the broken code to the emulator, if the React Native project is using Typescript, use Typescript's tsc --noEmit to type check first and print errors to console and do not compile and send to the iOS emulator.
If there is a syntax error, the emulator will crash.
Describe what you expected to happen:
I would expect that the app is type checked prior to compiling, and errors are thrown in console, compilation is stopped, and my emulator will not crash and require a force-close.
The text was updated successfully, but these errors were encountered:
When a React Native app is placed in debug mode, syntax errors break iOS emulators, which requires the iOS emulator to be force closed. Rather than serving the broken code to the emulator, if the React Native project is using Typescript, use Typescript's
tsc --noEmit
to type check first and print errors to console and do not compile and send to the iOS emulator.React Native version:
Steps To Reproduce
Describe what you expected to happen:
I would expect that the app is type checked prior to compiling, and errors are thrown in console, compilation is stopped, and my emulator will not crash and require a force-close.
The text was updated successfully, but these errors were encountered: