How to use Firebase in React Native - Part 4 (Updating Data)

Опубликовано: 12 Октябрь 2024
на канале: The Flutter Factory
9,451
85

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:13 - Intro
00:35 - Going over the new detail screen component
01:45 - Refactoring local state with a food object
07:25 - Passing the existing food object from the detail screen to the form
*09:46 - Creating the function to update the food object in Firestore
15:30 - Using the new update method in the food form
20:06 - Creating the callback for updating a food object
22:08 - Testing and fixing errors

💻Get the Code: https://github.com/cheetahcoding/CwC_...

⚡Connect on Facebook:   / cheetahcoding  

⚡Connect on Twitter:   / cheetahcoding