useeffect apenas no monte

import React, { useEffect } from 'react';

function App() {
  useEffect(() => {
    // Run! Like go get some data from an API.
  }, []);
} 
Clumsy Chipmunk