In the last example,
UseEffect listen the "text" state changes and then it set the value again and again....
So removing the useEffect will fix the issue.
```import React, { useEffect, useState } from "react";
const App = () => {
const [text, setText] = useState("");
return null;
};
export default App;```