Skip to content

Is there a limit to how much data can be passed along with Link state? #9411

Answered by kiliman
cemalokten asked this question in Q&A
Discussion options

You must be logged in to vote

https://developer.mozilla.org/en-US/docs/Web/API/History/pushState#state

Note: Some browsers save state objects to the user's disk so they can be restored after the user restarts the browser, and impose a size limit on the serialized representation of a state object, and will throw an exception if you pass a state object whose serialized representation is larger than that size limit. So in cases where you want to ensure you have more space than what some browsers might impose, you're encouraged to use sessionStorage and/or localStorage.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sergiodxa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants