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

Use Platform.select instead Platform.OS for conditional imports which avoids issues such as Unable to resolve module. #166

Merged
merged 5 commits into from
Jan 25, 2024

Conversation

marandaneto
Copy link
Member

@marandaneto marandaneto commented Jan 25, 2024

Problem

Closes #165
Closes #164
Probably helps with microsoft/react-native-macos#2053

Changes

Release info Sub-libraries affected

Bump level

  • Major
  • Minor
  • Patch

Libraries affected

  • All of them
  • posthog-web
  • posthog-node
  • posthog-react-native

Changelog notes

  • Added support for X

@marandaneto marandaneto requested a review from a team January 25, 2024 08:23
@marandaneto marandaneto changed the title Use instead for conditional imports which avoids issues such as Use Platform.select instead Platform.OS for conditional imports which avoids issues such as Unable to resolve module. Jan 25, 2024
Copy link
Member

@pauldambra pauldambra left a comment

Choose a reason for hiding this comment

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

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants