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: drop unused web name property #27437

Merged
merged 10 commits into from Mar 6, 2024

Conversation

EvanBacon
Copy link
Contributor

Why

  • The name property is no longer used for anything, iirc it was related to async debugging.
  • SyntheticPlatformEmitter has been renamed to DeviceEventEmitter.
  • In certain places, I've removed the web shim functions in favor of nullish checks.

Test Plan

  • Should be pretty non-intrusive since all this code is unused.
  • I don't think we have any web e2e tests left.

EvanBacon and others added 5 commits March 4, 2024 21:18
Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@expo-bot expo-bot removed the bot: suggestions ExpoBot has some suggestions label Mar 5, 2024
@expo-bot expo-bot added the bot: passed checks ExpoBot has nothing to complain about label Mar 5, 2024
@@ -10,6 +10,8 @@

### 💡 Others

- drop unused web `name` property. ([#27437](https://github.com/expo/expo/pull/27437) by [@EvanBacon](https://github.com/EvanBacon))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Document the change in error code as a breaking change

@EvanBacon EvanBacon merged commit 0e03930 into main Mar 6, 2024
9 of 10 checks passed
@EvanBacon EvanBacon deleted the @evanbacon/sdk/drop-unused-web-code branch March 6, 2024 03:54
@brentvatne brentvatne added the published Changes from the PR have been published to npm label Apr 18, 2024
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 published Changes from the PR have been published to npm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants