merender dan memasang komponen fungsional

// React starts renders our component and since this is the
// first render, it "mounts" the component to the DOM:
App()

// Then state changes and React now needs to re-render the
// component with the new state in place:
App()

// State changes again, React re-renders again:
App()
Runtime Terror