Skip to content

ChangeOnEffect story doesn't show loading state during 2-second delay #10

@saismrutiranjan18

Description

@saismrutiranjan18

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions