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

[Question] API for history.length #89

Closed
runlevel5 opened this issue Oct 8, 2015 · 1 comment
Closed

[Question] API for history.length #89

runlevel5 opened this issue Oct 8, 2015 · 1 comment

Comments

@runlevel5
Copy link

Please excuse me if this question is stupid (I am new to this whole JS world, please go easy on me). I would like to know if there is a equivalent API to the window.history.length? Many thanks

@runlevel5 runlevel5 changed the title API for history.length [Question] API for history.length Oct 8, 2015
@mjackson
Copy link
Member

We discussed this at length in remix-run/react-router#767 and remix-run/react-router#843. The conclusion was that it's not actually possible for us to provide a history.length API, but I'm hopeful that a proposed location.delta API might solve most of the use cases for it.

@taion taion mentioned this issue Jan 8, 2016
@taion taion mentioned this issue Apr 29, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants