Skip to content

Game page / exhaustive-deps #5

@dekisr

Description

@dekisr

Hey James, thanks for the course, I'm enjoying a lot.

For the Game page, we could fix the updateTime exhaustive-deps problem.
We can just declare it inside its useEffect or wrap into useCallback hook, just like the keyUpHandler.

reference: facebook/react#14920

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