Currently the progress bar isn't showed when using router.back(), which may be intentional, but I think that it could be useful in some cases, or just look nice based on personal preference.
Showing the bar as a default option would work, but I think we could make a function like:
function back(options: {showProgressBar?: boolean}){}
and show it conditionally.
I'd be glad to submit a PR for this change and contribute to this wonderful project if I have your permission.
Currently the progress bar isn't showed when using
router.back()
, which may be intentional, but I think that it could be useful in some cases, or just look nice based on personal preference. Showing the bar as a default option would work, but I think we could make a function like:and show it conditionally.
I'd be glad to submit a PR for this change and contribute to this wonderful project if I have your permission.