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

Highlight updates shows up a blinking loading bar. #94

Open empav opened 5 years ago

empav commented 5 years ago

Hi there, Have you ever faced the following:

loadingbar

As you can see from the redux panel we call hideLoading() and the loading bar hides but turning on React "Highlight updates" it looks like the loading bar gets rendered again and again.

I set up a console.log() in the loading bar parent component and the render method gets called once at the componentDidMount.

Looking forward to having your feedback. Thanks.

mironov commented 5 years ago

@epavan Hi there. I have never seen this issue before. I tried to reproduce it on the demo without luck so far. Could you help me with that?

It is hard to see the actions on the attached image. Am I right that there were two SHOW events and one HIDE?

empav commented 5 years ago

Yep, do you think that's the cause?