Created by: n3tr
fix #9882 (closed)
Eject the app will cause React is not defined, This is due to the Babel's configuration for JSX runtime gets removed during ejecting.
Change
- Keep
runtimeconfiguration on ejection
Verify Steps
yarn create-react-app test-ejecting-appcd test-eject-appyarn eject-
yarn startand app should gets compiled successfully