Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a useReload hook to make the Reload component obsolete #4063

Merged
merged 1 commit into from
Jun 13, 2024

Commits on Jun 13, 2024

  1. Add: Add a useReload hook to make the Reload component obsolete

    The new useReload hook is based in useTiming. It calls a timing
    function before every reload to calculate the timeout before the reload.
    This timing function gets a isVisible argument passed. Using the
    argument the timing function can decide to extend the timeout when the
    current browser window is not visible.
    bjoernricks committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    904f92d View commit details
    Browse the repository at this point in the history