Private
Readonly
canvasPrivate
Readonly
eventPrivate
Optional
finalPrivate
Optional
hackyPrivate
Optional
hackyPrivate
lastPrivate
mutablePrivate
panPrivate
Optional
prevPrivate
subscriptionsPrivate
Optional
waitingPrivate
Optional
waitingPrivate
Optional
waitingStatic
defaultStatic
displayRuns before React applies the result of Component.render render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before Component.render render causes changes to it.
Note: the presence of this method prevents any of the deprecated lifecycle events from running.
Optional
chartId: stringCalled to determine whether the change in props and state should trigger a re-render.
Component
always returns true.
PureComponent
implements a shallow comparison on props and state and returns true if any
props or states have changed.
If false is returned, Component.render, componentWillUpdate
and componentDidUpdate
will not be called.
Optional
props: anyOptional
e: anyStatic
get
Called immediately after updating occurs. Not called for the initial render.
The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.