React-redux-firebase: feat(storage): pass upload progress to state

Created on 29 Oct 2018  路  3Comments  路  Source: prescottprue/react-redux-firebase

i set the progress confg

 firebase.uploadFiles(`path`, files, `path`, { progress: true })

and i redux action are working FILE_UPLOAD_PROGRESS
but i dont know how to get ations payload

did progress value set in the firebase reducer ?

enhancement

Most helpful comment

@prescottprue any plans on this?

All 3 comments

@Louis-Chen the initial assumption was that one would use something like redux-observable or a store subscription to watch for action dispatches instead of connecting to state for this info. That said, looking back on it, it seems like it would be nice for this to be in state as well.

Going to mark as a feature

+1

@prescottprue any plans on this?

Was this page helpful?
0 / 5 - 0 ratings