react-native/React/Base/Surface
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
..
SurfaceHostingView iOS: branch out Fabric handling into a separate RCTSurface-compatible class. 2018-03-05 18:57:30 -08:00
RCTSurface.h iOS: branch out Fabric handling into a separate RCTSurface-compatible class. 2018-03-05 18:57:30 -08:00
RCTSurface.mm iOS Surface: properly reset some internal states when JS reloads 2018-03-07 10:45:14 -08:00
RCTSurfaceDelegate.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSurfaceRootShadowView.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSurfaceRootShadowView.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSurfaceRootShadowViewDelegate.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSurfaceRootView.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSurfaceRootView.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSurfaceStage.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSurfaceStage.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSurfaceView+Internal.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSurfaceView.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTSurfaceView.mm Update license headers for MIT license 2018-02-16 18:31:53 -08:00