Make InvalidateList JS api accessible to SPFX extensions
SPFX extensions give us ability to add our own commands and to show/hide them based on different conditions e.g. state of the selected documents/
These commands usually change the state of the document, but onListViewUpdated from BaseListViewCommandSet is not triggered automatically (which is fine) and there is no way to manually trigger onListViewUpdated.
Through some google searches I found that there is module itemInvalidator with method invalidateCurrentItemSet. But it is hidden from JS API users.
The onlu options we have now are:
1) reload whole page - unacceptable in most cases
2) make user to reselect the item - one of the worst UX possible
Please make invalidateCurrentItemSet method available!
Thank you.
