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

Remove old style conditional imports #21

Merged
merged 1 commit into from
Feb 22, 2024
Merged

Conversation

markphilpot
Copy link
Contributor

@markphilpot markphilpot commented Sep 20, 2022

Old style conditional imports no longer work -- they produce "duplicate interface definition" errors when building.

Using the #import <React/*> style import correctly handles the conditioning now.

See ammarahm-ed/react-native-mmkv-storage#259 as an example

Old style conditional imports no longer work -- they produce "duplicate interface definition" errors when building.  

Using the `#import <React/*>` style import correctly handles the conditioning now.
@birkir birkir merged commit b29c268 into birkir:main Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants