prescottprue / react-redux-firebase

Redux bindings for Firebase. Includes React Hooks and Higher Order Components.
https://react-redux-firebase.com
MIT License
2.55k stars 559 forks source link

feat(storage): pass upload progress to state #556

Open wildfrontend opened 5 years ago

wildfrontend commented 5 years ago

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 ?

prescottprue commented 5 years ago

@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

alekseykarpenko commented 4 years ago

+1

alekseykarpenko commented 4 years ago

@prescottprue any plans on this?