React: Make ResponderEventPlugin cross-platform

Created on 26 Mar 2016  Â·  4Comments  Â·  Source: facebook/react

@dieppe worked on making ResponderEventPlugin work with DOM in #4303 but this was put on hold.
After #6338 brings all the relevant files into React repo, we can start thinking about it again.

I’m creating this issue to keep track of whether we want this to happen or not, and what is our plan regarding this. If there is a consensus, we can look into rebasing #4303.

cc @sebmarkbage @jordwalke

DOM Enhancement

Most helpful comment

I want.

All 4 comments

I took #4303 and have made adjustments to provide initial web support for the Responder system. The work is spread over 3 places – injecting the plugin, normalizing native events, and intercepting events in View before original handlers are called. It would be great if there were eventually official DOM support for the Responder system and PanResponder

I want.

https://github.com/facebook/react/pull/12629 upstreamed some of the dependencies to get things working with DOM. Latest hackery beyond that is here.

You can use https://github.com/necolas/react-native-web if you need to use the REP on web. In the future we develop a new cross-platform system to replace the REP.

Was this page helpful?
0 / 5 - 0 ratings