Open George3d6 opened 1 month ago
You're stuck at 98%, not 100%? AKA, this is not a duplicate of https://github.com/microsoft/react-native-macos/issues/2183 ?
Am having the same problem with react-native-macos@0.75.6
. But I'm stuck at 100%.
I think with 0.74+ the loading screen has been buggy, so I would call this method somewhere in your App / AppDelegate to disable:
RCTDevLoadingViewSetEnabled(NO);
in 75.6, I also get stuck on a 100% loading screen.
Went inside react-native-macos folder in node modules to see if it had your fix.
Looks like it does.
Still getting the 100% loading.
However, I'm also getting this image library related error too
Shoot. Solved by restarting metro !
Sorry ! No need to add RCTDevLoadingViewSetEnabled(NO);
Could y'all try applying https://github.com/microsoft/react-native-macos/pull/2211 locally (just copy and paste the changes in your Xcode project) and tell me if this works?
Environment
Steps to reproduce the bug
npx react-native start --reset-cache
npx react-native run-macos
Expected Behavior
I kill the
npx react-native start --reset-cache
process and the app itself I can reload metro and rebuildActual Behavior
My app launches but a "Bundling" loader is forever stuck on it.
The app builds, I even see it in the background with cached state loaded and it makes requests to the server but a "Bundling 98%" load blocks me from interacting with it.
Reproducible Demo
No response
Additional context
This might be a case of "small convenience feature actually kills dev experience"
The way to fix this bug seems to be to have the "build" window in the background such that the "Bundling" loader never appears -- It's unrelated to the app working