fix(platform-server): update renderApplication to move appId to options (#45844)

This commit updates the `renderApplication` function to move the `appId` argument to the options object. The goal is to achieve a symmetry with the `bootstrapApplication` call (use to bootstrap apps for the browser environment).

PR Close #45844
This commit is contained in:
Andrew Kushnir
2022-05-02 11:18:38 -07:00
committed by Dylan Hunn
parent 752ddbc165
commit 22c71be94c
3 changed files with 34 additions and 29 deletions
+2 -1
View File
@@ -48,7 +48,8 @@ export class PlatformState {
}
// @public
export function renderApplication<T>(rootComponent: Type<T>, appId: string, options: {
export function renderApplication<T>(rootComponent: Type<T>, options: {
appId: string;
document?: string;
url?: string;
providers?: Provider[];