React call api every 5 seconds hooks July 8, 2019 16 32 64 128 React useeffect api call React api call