The way to check if it's the first time for useEffect function is being run in React HooksJan 16th 2020React, Javascript, Typescript, React Hooks, useEffect