useEffect not firing at all – Javascript
My useEffect is not firing at all: import React, { useEffect } from 'react' function Home(props) { useEffect = (() => { onPageLoad() }, []) const onPageLoad = () => { console.log('hello from page load') } return ( <p>Home Component</p>…