Ryan Baker
Sep 3, 2018 · 1 min read

Thanks for reading! The finally block is used to set the state that loading is no longer happening. I use a finally because in either case (fail or success) you want to set “loading” to false and “loaded” to whether or not the load was successful

    Ryan Baker

    Written by