Yeah, that's true. A simpler approach would be to set "isUserSignedIn" to true after successful login and remove it when the user clicks the logout button. The only logic that will be handled on auth change is setting the current user. Chinenye Anikwenze
Egai-Osowor
Front-End Developer
In solution 2, what purpose does the "userUpdated" state serve?