ctrlplusb / react-jobs

Asynchronously resolve data for your components, with support for server side rendering.
MIT License
166 stars 34 forks source link

Reshow loading component if work runs again #32

Closed digitaldeus closed 7 years ago

digitaldeus commented 7 years ago

I'd like to be be able to show the loading component if work is triggered again with 'shouldWorkAgain', is this possible?

It seems that the work is being triggered fine but the loading component doesn't show

montezume commented 7 years ago

Yeah, I'm having the same problem. Seems to me like just need to reset the jobStatus when it's ran again?

ctrlplusb commented 7 years ago

Yeah, this is likely a bug. 😞