protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e) { base.OnElementPropertyChanged(sender, e); switch (e.PropertyName) { case nameof(ReactView.PackagerUrl): case nameof(ReactView.BundleName): case nameof(ReactView.ModulePath): case nameof(ReactView.ModuleName): case nameof(ReactView.Properties): // Kill everything. _instanceManager.DetachRootView(_rootView); _instanceManager.Destroy(); _instanceManager = null; _rootView = null; // Recreate view. CreateReactView(); break; } }