Transcript
00:00 So right now we're just saying, hey, if there was an error, throw that. If it hasn't, if there's no ship yet, then throw the promise. Otherwise, we'll render the ship. We want to formalize this a little bit better to just make it more clear what's happening. And this will get us a little closer to the use hook as well. So we're going to make formal status.
00:18 So your status is going to be either pending, resolved, or rejected. We'll start it out as pending. And this lines up nicely with a blog post that I wrote titled Make Impossible States Impossible that you can check out and stop using is loading Booleans. So feel free to take a look at those as you work through this exercise.
00:37 And when you're all done, then we can work through it together.