There is a comment in the source code within the useDispatch file located under /src/hooks/useDispatch that recommends instead of using useDispatch, it is recommended to use the useActions hook in most cases. This comment contradicts the documentation found here.
Specifically, the documentation mentions the useActions hook has been removed.
Thus, the comment within the useDispatch source code should be updated.