You might not need useEffect() ...