next.js
Add experimental support for history.pushState and history.replaceState
#58335
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
17
Changes
View On
GitHub
Add experimental support for history.pushState and history.replaceState
#58335
kodiakhq
merged 17 commits into
canary
from
11-11-Add_support_for_history.pushState_and_history.replaceState
Add support for history.pushState and history.replaceState
174861b8
Add experimental flag for these changes: experimental.windowHistorySu…
db4c4087
Add comment explaining the override
e5a8bd2b
Add comment explaining check for canonicalUrl
24861055
Add marker for custom data push
b78d35c9
ijjk
added
area: tests
ijjk
added
created-by: Next.js team
ijjk
added
type: next
timneutkens
commented on 2023-11-11
feedthejim
commented on 2023-11-11
acdlite
commented on 2023-11-11
Move onPopState and applyUrlFromHistoryPushReplace into useEffect cal…
af923945
Add updateHistory to pushRef
c5284f23
Merge branch 'canary' of https://github.com/vercel/next.js into 11-11…
8d85bb2d
Fix type
1498a8c2
Skip updating history when updateHistory is false
2b2ee738
Set mutable.updateHistory in all reducers
d957ef9e
Add updateHistory: false
69befda9
Add preserveCustomHistoryState
e83926a1
Fix tests
c95b7958
Handle preserveCustomHistoryState correctly
c37e0faf
Remove __PRIVATE_NEXTJS_INTERNALS_CUSTOM_DATA as it's not used
14f8317f
Merge branch 'canary' into 11-11-Add_support_for_history.pushState_an…
358a3801
timneutkens
marked this pull request as ready for review
2 years ago
timneutkens
requested a review
from
ijjk
2 years ago
timneutkens
requested a review
from
shuding
2 years ago
timneutkens
requested a review
from
huozhi
2 years ago
timneutkens
requested a review
from
ztanner
2 years ago
timneutkens
requested a review
2 years ago
timneutkens
requested a review
from
wyattjoh
2 years ago
feedthejim
commented on 2023-11-13
shuding
approved these changes on 2023-11-13
kodiakhq
merged
797fecb0
into canary
2 years ago
kodiakhq
deleted the 11-11-Add_support_for_history.pushState_and_history.replaceState branch
2 years ago
franky47
commented on 2023-11-14
dvoytenko
commented on 2023-11-16
github-actions
added
locked
github-actions
locked
as resolved
and limited conversation to collaborators
2 years ago
Login to write a write a comment.
Login via GitHub
Reviewers
shuding
dvoytenko
acdlite
feedthejim
cduff
franky47
ijjk
huozhi
ztanner
wyattjoh
Assignees
No one assigned
Labels
type: next
created-by: Next.js team
locked
Milestone
No milestone
Login to write a write a comment.
Login via GitHub