Skip to content
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

chore(metro-config): noop exotic mode #24927

Merged
merged 2 commits into from
Oct 19, 2023
Merged

Conversation

EvanBacon
Copy link
Contributor

Why

Most of the Exotic mode performance benefits have been integrated in the default Expo CLI bundling pipeline (e.g. less AST cloning, faster worker creation), and as such, the feature no longer needs to be enabled/disabled. Setting mode: "exotic" will no longer have any additional effects over the default.

Checklist

@EvanBacon EvanBacon changed the title chore(metro-config): deprecate exotic mode chore(metro-config): noop exotic mode Oct 18, 2023
@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Oct 18, 2023
Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Oct 18, 2023
@EvanBacon EvanBacon merged commit 3ed5191 into main Oct 19, 2023
8 checks passed
@EvanBacon EvanBacon deleted the @evanbacon/metro/drop-exotic-mode branch October 19, 2023 14:51
marklawlor pushed a commit that referenced this pull request Oct 30, 2023
# Why

Most of the [Exotic
mode](https://blog.expo.dev/drastically-faster-bundling-in-react-native-a54f268e0ed1)
performance benefits have been integrated in the default Expo CLI
bundling pipeline (e.g. [less AST
cloning](facebook/metro#854), [faster worker
creation](facebook/metro#856)), and as such, the
feature no longer needs to be enabled/disabled. Setting `mode: "exotic"`
will no longer have any additional effects over the default.

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->

- [ ] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).

---------

Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: fingerprint compatible bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants