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

onTouchStart, onTouchEnd and onTouchMove: Undocumented Features or Deprecated Props? #23686

Closed
gsklee opened this issue Feb 28, 2019 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot. Type: Docs Issues concerning the docs are tracked elsewhere: https:/facebook/react-native-website

Comments

@gsklee
Copy link

gsklee commented Feb 28, 2019

I've come across numerous references to these supposedly present props on the View component but couldn't find any reference to them in the official doc site nor within the changelog from here. Are these deprecated props or features waiting to be documented?

@gsklee gsklee added the Type: Docs Issues concerning the docs are tracked elsewhere: https:/facebook/react-native-website label Feb 28, 2019
@ericlewis
Copy link
Contributor

@gsklee afaik, it is simply an undocumented feature. I am not aware of them being deprecated or anything.

@empyrical
Copy link
Contributor

They're from an upcoming feature in React Native's "Fabric" architecture - an implementation of W3C touch events. They don't work in stable react native.

You can have a look at the code here:

https:/facebook/react-native/blob/master/ReactCommon/fabric/components/view/TouchEventEmitter.h
https:/facebook/react-native/blob/master/ReactCommon/fabric/components/view/TouchEventEmitter.cpp

@bartolkaruza
Copy link

Hello there 👋 this issue is related to the documentation. There is a dedicated documentation repository where we would like to migrate this issue to. https:/facebook/react-native-website/

@facebook facebook locked as resolved and limited conversation to collaborators Mar 20, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Mar 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot. Type: Docs Issues concerning the docs are tracked elsewhere: https:/facebook/react-native-website
Projects
None yet
Development

No branches or pull requests

5 participants