Joey Ng'ethe
Sep 6, 2018 · 1 min read

Really nice article. I did notice that you are not canceling your async calls. This can introduce some memory leaks. This is a maybe depending on the architecture of your application but I highly recommend it. Ideally, you’d do this using the componentWillUnmount lifecycle hook where you’d cancel your axios calls. But otherwise, very helpful article, cheers!

    Joey Ng'ethe

    Written by

    Software Engineer: Javascript, React, graphQL, UI’s. Currently helping build modern markets @twigaFoods