Skip to content

[Exercise] Implement refresh button event handler #1

Open
@creativcoder

Description

@creativcoder

In part b, we finished headlines but left the refresh button event handler for grab.

As an exercise, it would be great to implement the refresh button event handler.

We want the following behavior:

When the refresh button is clicked, the app should momentarily render a loading screen, and then make another get request to top-headlines endpoint and re-populate the list of articles.

Feel free to reach out for queries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    exerciseExercise for beginners

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions