SPFx webpart method execution order: When loading the web part on a page, the methods are fired in the following order: 1) protected onAfterDeserialize(deserializedObject: any , dataVersion: Version): TProperties; 2) protected onInit(): Promise < void >; 3) protected render(): void ; 4) protected onBeforeSerialize(): void ; When the web part is removed from a page, the methods are fired in the following order: 1) protected onDispose(): void ; SPFx webpart property pane method execution order: Opening the property pane: 1) protected loadPropertyPaneResources(): Promise < void > 2) protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration; 3) protected onPropertyPaneRendered(): void ; 4) protected onPropertyPaneConfigurationStart(): void ; Updating the properties in the property pane: The SPFx property pane can be set in either the reactive mode or in a non-reactive mode: "Reactive implies th...
Comments
Post a Comment