es lint warning when using use effect for first render porps code example
Example: Line 9:6: React Hook React.useEffect has a missing dependency: 'init'. Either include it or remove the dependency array
const fetchBusinesses = useCallback(() => {
...
}, [])
useEffect(() => {
fetchBusinesses()
}, [fetchBusinesses])