react firebase storage upload and save url to firestore 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)