Methods
Optional UNSAFE_componentWillMount
UNSAFE_componentWillMount:
UNSAFE_componentWillReceiveProps
UNSAFE_componentWillReceiveProps( nextProps: IProperties ) : void
Defined in packages/extensionmanager/lib/widget.d.ts:127
Parameters
Returns void
Optional UNSAFE_componentWillUpdate
UNSAFE_componentWillUpdate:
Optional componentDidCatch
componentDidCatch:
Optional componentDidMount
componentDidMount:
Optional componentDidUpdate
componentDidUpdate:
Optional componentWillMount
componentWillMount:
Optional componentWillReceiveProps
componentWillReceiveProps:
Optional componentWillUnmount
componentWillUnmount:
Optional componentWillUpdate
componentWillUpdate:
forceUpdate
forceUpdate( callback?: ( ) => void ) : void
Defined in node_modules/@types/react/index.d.ts:490
Parameters
Optional callback: ( ) => void
Returns void
Optional getSnapshotBeforeUpdate
getSnapshotBeforeUpdate:
handleCollapse
Defined in packages/extensionmanager/lib/widget.d.ts:126
Returns void
render
render( ) : React.ReactNode
Defined in packages/extensionmanager/lib/widget.d.ts:122
Returns React.ReactNode
setState
setState<K>( state: ( ( prevState: Readonly < S > , props: Readonly < P > ) => Pick < S , K > | S | null ) | ( Pick < S , K > | S | null ) , callback?: ( ) => void ) : void
Defined in node_modules/@types/react/index.d.ts:485
Type parameters
Parameters
state: ( ( prevState: Readonly < S > , props: Readonly < P > ) => Pick < S , K > | S | null ) | ( Pick < S , K > | S | null )
Optional callback: ( ) => void
Returns void
Optional shouldComponentUpdate
shouldComponentUpdate:
If using the new style context, re-declare this in your class to be the
React.ContextType
of yourstatic contextType
. Should be used with type annotation or static contextType.https://reactjs.org/docs/context.html