/// <summary>
        /// Register the root view.
        /// </summary>
        /// <param name="rootView">The root view.</param>
        /// <param name="tag">The view tag.</param>
        /// <param name="width">The width.</param>
        /// <param name="height">The height.</param>
        /// <param name="context">The context.</param>
        public void RegisterRootView(
            SizeMonitoringCanvas rootView,
            int tag,
            double width,
            double height,
            ThemedReactContext context)
        {
            var rootCssNode = CreateRootShadowNode();

            rootCssNode.ReactTag      = tag;
            rootCssNode.ThemedContext = context;
            rootCssNode.StyleWidth    = (float)width;
            rootCssNode.StyleHeight   = (float)height;
            _shadowNodeRegistry.AddRootNode(rootCssNode);

            // Register it with the NativeViewHierarchyManager.
            _operationsQueue.AddRootView(tag, rootView, context);
        }