Skip to content

Disable NextProgress on fast changing static pages #91

Open

Description

@robertocerdasilva

Hello!

Is there a way to disable NextProgress when visiting pages that contain static content or were created with getStaticProps?

Navigating to those pages is so fast that I don't see the need to show the progress bar in those cases. Very similar to how it works in Gatsby.JS, where the progress bar is only shown when the request is taking time.

Thank you.

Activity

  1. eamonma commented on Apr 19, 2023

    @eamonma

    @robertocerdasilva I had the same problem so I made a fork that waits for a certain amount of time before showing the bar. It adds a debounce prop. https://www.npmjs.com/package/@approximant/next-progress

  2. imranbarbhuiya commented on Apr 19, 2023

    @imranbarbhuiya
    Collaborator

    You can pr this feature here too if u want

  3. kdiffin commented on Apr 23, 2023

    @kdiffin

    @eamonma thanks bud!

  4. robertocerdasilva commented on Apr 24, 2023

    @robertocerdasilva
    Author

    @eamonma Thank you so much! it's great

  5. jeffminsungkim commented on Jul 22, 2023

    @jeffminsungkim

    @eamonma Your great effort definitely needs to be submitted as a pull request to this library. Thanks man!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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