useEffect(() => { const someFunc = () => { console.log("Function being run after/on mount") } someFunc() }, [])