'useEffect' hook only fires once?
问题 I am working of a Guessing Game for 'React Native' where the user enters a number and the phone tries to guess it. Each time the phone generates a guess the user can click Greater/Lower. When the user entered number and the computer made guess equal each other we are taken to the game over screen. The game over screen is not rendering. The logic to render the game over screen is placed inside of a useEffect() Problem useEffect is only fired once during the mounting phase and never again?