Transcript

Instructor: 0:00 Honestly, this one is just for a little bit of fun. I love how awesome React Hooks are and how you can combine it with React Suspense, just makes it that much cooler.

0:10 Your entire job for this exercise is just to refactor. You're going to take all of the suspense related stuff here, create your own usePokemonResource custom hook, and for the extra credit, you're just going to actually use the one that I built for you already.

0:24 It's mostly just to illustrate the fact that you can take all of these cool stuffs that we are doing and abstract it away into a really simple hook in a single line of code that is straightforward and understandable and gives you a huge amount of power.

0:39 Have a good time with this one. It's pretty quick. We'll see on the other side.