react-native/React
Kevin Gozali cade297971 iOS Surface: properly reset some internal states when JS reloads
Summary:
There are a few important states that didn't reset correctly when reloading JS:
* the RCTSurfaceStage was stuck at all bits enabled, hence no further stage change happened (even though the state "reset" to `RCTSurfaceStageBridgeDidLoad`)
* the RCTSurfaceView didn't get recreated, because the _view ivar was never cleared
* similarly, the _touchHandler ivar attached to the _view was never re-setup --> all touches after JS reload were dropped before this diff

Reviewed By: mmmulani

Differential Revision: D7178038

fbshipit-source-id: ba49bc205f8bf43842471b7ab748cef8549ea212
2018-03-07 10:45:14 -08:00
..
Base iOS Surface: properly reset some internal states when JS reloads 2018-03-07 10:45:14 -08:00
CxxBridge Add `RCTJavaScriptWillStartExecutingNotification` 2018-03-06 11:05:25 -08:00
CxxModule Update license headers for MIT license 2018-02-16 18:31:53 -08:00
CxxUtils Update license headers for MIT license 2018-02-16 18:31:53 -08:00
DevSupport Wrap global variables in extern C 2018-03-02 19:44:18 -08:00
Fabric iOS: branch out Fabric handling into a separate RCTSurface-compatible class. 2018-03-05 18:57:30 -08:00
Inspector Forward VM version to inspector 2018-02-13 08:16:50 -08:00
Modules Add support for Android TV devices 2018-03-06 10:47:02 -08:00
Profiler Update license headers for MIT license 2018-02-16 18:31:53 -08:00
React.xcodeproj Expose React Native version as a symbol rather than macro 2018-03-02 14:51:39 -08:00
UIUtils Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Views onPress animation with magnification 2018-02-27 13:10:02 -08:00
third-party.xcconfig More attempts to fix Travis CI runs 2017-05-10 04:32:54 -07:00