Closed tofumatt closed 6 years ago
We may need to introduce thunk to make it easier to use dispatch in callApi()
.
I've looked into the source code of that react loading bar library.
It seems to just style a <div>
, so AT users wouldn't be informed.
Shall I open a new issue about it?
We aren't going to do this because we now use <LoadingText>
Please add some STR for us to check his or the label "qa: not needed". Thanks!
Currently we only render the loading bar if reduxConnect dispatches an action we interpret as loading/finished loading. This means direct calls to the API like in the Ratings component won't render the loading bar. We should pass
dispatch
to thosecallApi
calls and dispatch in callApi.