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

ART components should be imported from @react-native-community/art #158

Closed
WaldoJeffers opened this issue Jun 9, 2019 · 0 comments · Fixed by #166
Closed

ART components should be imported from @react-native-community/art #158

WaldoJeffers opened this issue Jun 9, 2019 · 0 comments · Fixed by #166

Comments

@WaldoJeffers
Copy link

As part of the Lean Core effort, ART will not be exported from react-native anymore.

import { ART } from 'react-native' // won't work

Instead, ART components should be imported from @react-native-community/art.

import { Shape } from '@react-native-community/art'

This is already causing issues when using this library with react-native-web, which has already removed ART from its exported modules (though I'm unsure why the authors did not wait to be in sync with React Native 🤔 ).

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 a pull request may close this issue.

1 participant