-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Presets for RN 0.61+? #755
Comments
this repo seems dead |
no it's not :) |
Glad to hear that, but I haven't noticed any official support for RN 0.63? |
My setupI just tried building a fresh "@haul-bundler/babel-preset-react-native": "^0.16.0",
"@haul-bundler/cli": "^0.22.1",
"@haul-bundler/preset-0.60": "^0.18.0", The closest available preset is preset-0.60:
Successful native buildThe react-native/rn-get-polyfills.js for v0.63 is unchanged from the polyfills introduced by haul-preset-0.60, which is a good start. The native app builds successfully (provided I disable Flipper or change the version range for it, which is an ongoing React Native issue for macOS, and not related to Haul).
|
Trying again, this time with the development server actually running. First build succeeds and runs successfullyI should note that I receive a deprecation warning from
... but disregarding that log message, it does build (can't remember how long the cold build took, but the warm build took only around 10 seconds) and run: Upon file changes, no HMR (as expected) nor automatic live reload, but the bundle does updateUpon saving a change to I had hoped that, even if HMR weren't supported, live reload would occur upon code changes – it seems that this is not the case, however. Pressing Cmd + R to manually force a live reload does work just fine, however, and the app reloads its bundle in a second. You can see the request for So as far as I can tell, Haul is fully functioning for |
Ask your Question
React Native is currently on version 0.63, but the most recent preset package for Haul is for 0.60. Are there any new presets needed/planned for the newer RN version?
The text was updated successfully, but these errors were encountered: