Bereaksi UseEffect () Efek samping berjalan setelah setiap rendering

import { useEffect } from 'react';
function MyComponent() {
  useEffect(() => {
    // Runs after EVERY rendering
  });  
}
Attractive Anteater