How to use Firebase in React Native - Part 5 (Deleting Data)

preview_player
Показать описание
In this video, we use the same form that we created in part 3 to edit an existing food object. We will create a new to update the food using the document id. Hope you enjoy the new intro :)

00:00 - Intro
00:39 - Creating the function to delete a document
01:51 - Delete callback
04:55 - Storing the pressed list item index in the state
06:40 - Passing callbacks to the food detail screen
08:26 - Deleting food from Detail screen
09:44 - Summary of code written
10:57 - Testing and Debugging

Рекомендации по теме
Комментарии
Автор

This concludes the very basics of Firebase in React native. I'll be continuing this series in the future with more complicated topics like realtime updates, file storage, cloud functions, and notifications

TheFlutterFactory
Автор

How we can associate each user with his own unique food list? like how we link auth user with firestore document?

knaz
Автор

Is it Better to use Reduce function rather then slice on the base of food id?

which on is better for performance wise?

codefriendly
Автор

Osm and thanks sir make more video like that ! And if I edit from firebase then screen will show?

HimanshuYT
Автор

Hi, Please make a video on FCM firebase v6.0+

Saif-erhf
welcome to shbcf.ru