Called immediately after a component is mounted. Setting state here will trigger re-rendering.
Called immediately after updating occurs. Not called for the initial render.
The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.
Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as
cancelled network requests, or cleaning up any DOM elements created in componentDidMount.
Returns an object of the widget .getUserInput() results
Returns an array of all widget IDs in the order they occur in the question content.
If using the new style context, re-declare this in your class to be the
React.ContextTypeof yourstatic contextType. Should be used with type annotation or static contextType.