how to upload an image to firebase storage in react code example
Example: upload image in firebase storage react web
const uploadTask = storage.ref(`/images/${imageAsFile.name}`).put(imageAsFile)
const uploadTask = storage.ref(`/images/${imageAsFile.name}`).put(imageAsFile)