Updating Context Values
In this lesson, we'll discuss the withdrawal method of the mini-bank application.
We'll cover the following...
What’s a bank app if you can’t make withdrawals, huh?
Well, this app has some buttons. You click them and voila, a withdrawal is made.
The withdrawal buttons
Since the totalAmount
value resides in the loggedInUser
object, we may as well have the logic to make withdrawals in the ...