React Tips
Using React’s useEffect Hook to Fetch Data and Periodically Refresh The Data
Use useEffect to fetch data in a functional component and use setInterval to refresh that data as desired.
Published in
7 min readSep 13, 2020
Software Solutions Architect. IoT, hybrid, edge, app modernization and more. Keep in mind, one’s current skills have a shelf life.