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