You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Call RegisterXamlHostComponentView on demand #15396
RegisterXamlHostComponentView internally calls the costly WindowsXamlManager.InitializeForCurrentThread function. This function call should precede any XAML-based calls.
This is not called today so no 3P modules will run without it. It can't be called by default as it'd mean penalizing all RNW apps, even the ones not needing XAML-based components.
Call this at the registration of the first XAML-based component an app imports.
changed the title [-]Lazy load RegisterXamlHostComponentView if a component is Xaml-based[/-][+]Call RegisterXamlHostComponentView on demand[/+]on Nov 20, 2025
Activity
[-]Lazy load RegisterXamlHostComponentView if a component is Xaml-based[/-][+]Call RegisterXamlHostComponentView on demand[/+]sundaramramaswamy commentedon Dec 10, 2025
<XamlHost>tag is not planned for 0.82.