Use a lazy initializer with useState by Kent C. DoddsUse a lazy initializer with useState
egghead