Updates the issues state with the linter issues for the current sections. Helper function to be used with componentDidMount and componentDidUpdate.
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.
Returns an array, with one element be section. Each element is an array of lint warnings present in that section.
This function can currently only be called in edit mode.
Deprecated
See
React Docs