https://legacy.reactjs.org/docs/hooks-effect.html
jangan pernah coding seperti ini, karna akan menyebabkan infinite loops pada API ketika setProducts di dalam then-fetch

gunakan useEffect agar tidak infinite loops

useEffect only run 1 time in beginning if we set empty in this value
