There's no useRef, just let ref = storageRef That's the only mention of storageRef in the article. Where does it get its value?
let ref = storageRef
i added more details, thanks
Thanks, I have a project where I'm going to use Firebase file upload in react shortly. I'll be gladly using your hook. Nice work!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
There's no useRef, just
let ref = storageRef
That's the only mention of storageRef in the article. Where does it get its value?
i added more details, thanks
Thanks, I have a project where I'm going to use Firebase file upload in react shortly. I'll be gladly using your hook. Nice work!