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

Rule request: Pressable component usage only, no TouchableOpacity, Touchable* components #292

Open
taylorkline opened this issue Jun 30, 2021 · 0 comments

Comments

@taylorkline
Copy link

The Touchable series of components are discouraged now according to the React Native documentation with the following statement on the documentation:

If you're looking for a more extensive and future-proof way to handle touch-based input, check out the Pressable API.

It would be good to have a linting rule on any usage of Touchables, encouraging Pressable instead.

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

No branches or pull requests

1 participant