The ChangeOnEffect example story demonstrates changing context on effect with a 2-second delay, but there's no visual indicator to show users that something is happening during this delay. The story tracks a loaded state variable but doesn't appear to use it to provide visual feedback. Users viewing the story would see nothing for 2 seconds before the authentication state changes, which creates a poor user experience and doesn't demonstrate best practices for async operations. The story should include a loading indicator or message like "Authenticating..." during the delay period to showcase how to properly handle loading states with context.
The ChangeOnEffect example story demonstrates changing context on effect with a 2-second delay, but there's no visual indicator to show users that something is happening during this delay. The story tracks a loaded state variable but doesn't appear to use it to provide visual feedback. Users viewing the story would see nothing for 2 seconds before the authentication state changes, which creates a poor user experience and doesn't demonstrate best practices for async operations. The story should include a loading indicator or message like "Authenticating..." during the delay period to showcase how to properly handle loading states with context.