mironov / react-redux-loading-bar

Loading Bar (aka Progress Bar) for Redux and React
https://mironov.github.io/react-redux-loading-bar/
MIT License
936 stars 93 forks source link

When array data in response have more than one item - hiding is skipping in production #113

Closed ldrv565 closed 3 years ago

ldrv565 commented 3 years ago

for example: [{id: "ec3c3860-6ffd-462a-a20a-654855c2d694}]

in that case loading even will not be shown because it was 100ms

but if we will get [{id: "ec3c3860-6ffd-462a-a20a-654855c2d694"}, {id: "dc8b2f52-b97d-4405-bdda-271869a87d90"}] we will have loadingBar: {default: 1} forever

and for even next action it will just increment, but success action will be fired every time...

ldrv565 commented 3 years ago

I am sorry, that was our mistake, i didn't pull current master when saw problem in production)