# Microsoft.AspNetCore.Components.Web.Infrastructure

``` diff
+namespace Microsoft.AspNetCore.Components.Web.Infrastructure {
+    public class JSComponentInterop {
+        public JSComponentInterop(JSComponentConfigurationStore configuration);
+        protected internal virtual int AddRootComponent(string identifier, string domElementSelector);
+        protected internal virtual void RemoveRootComponent(int componentId);
+        protected internal void SetRootComponentParameters(int componentId, int parameterCount, JsonElement parametersJson, JsonSerializerOptions jsonOptions);
+    }
+}
```

