next.js
Add experimental support for history.pushState and history.replaceState
#58335
Merged

Add experimental support for history.pushState and history.replaceState #58335

timneutkens
timneutkens Add support for history.pushState and history.replaceState
174861b8
timneutkens Add experimental flag for these changes: experimental.windowHistorySu…
db4c4087
timneutkens Add comment explaining the override
e5a8bd2b
timneutkens Add comment explaining check for canonicalUrl
24861055
timneutkens Add marker for custom data push
b78d35c9
ijjk ijjk added area: tests
ijjk ijjk added created-by: Next.js team
ijjk ijjk added type: next
timneutkens
ijjk
timneutkens
timneutkens commented on 2023-11-11
feedthejim
feedthejim commented on 2023-11-11
acdlite
acdlite commented on 2023-11-11
timneutkens Move onPopState and applyUrlFromHistoryPushReplace into useEffect cal…
af923945
ijjk
timneutkens Add updateHistory to pushRef
c5284f23
timneutkens Merge branch 'canary' of https://github.com/vercel/next.js into 11-11…
8d85bb2d
timneutkens Fix type
1498a8c2
timneutkens Skip updating history when updateHistory is false
2b2ee738
timneutkens Set mutable.updateHistory in all reducers
d957ef9e
timneutkens Add updateHistory: false
69befda9
timneutkens Add preserveCustomHistoryState
e83926a1
timneutkens Fix tests
c95b7958
timneutkens Handle preserveCustomHistoryState correctly
c37e0faf
timneutkens Remove __PRIVATE_NEXTJS_INTERNALS_CUSTOM_DATA as it's not used
14f8317f
timneutkens Merge branch 'canary' into 11-11-Add_support_for_history.pushState_an…
358a3801
timneutkens timneutkens marked this pull request as ready for review 2 years ago
timneutkens timneutkens requested a review from ijjk ijjk 2 years ago
timneutkens timneutkens requested a review from shuding shuding 2 years ago
timneutkens timneutkens requested a review from huozhi huozhi 2 years ago
timneutkens timneutkens requested a review from ztanner ztanner 2 years ago
timneutkens timneutkens requested a review 2 years ago
timneutkens timneutkens requested a review from wyattjoh wyattjoh 2 years ago
feedthejim
feedthejim commented on 2023-11-13
shuding
shuding approved these changes on 2023-11-13
kodiakhq kodiakhq merged 797fecb0 into canary 2 years ago
kodiakhq kodiakhq deleted the 11-11-Add_support_for_history.pushState_and_history.replaceState branch 2 years ago
franky47
franky47 commented on 2023-11-14
dvoytenko
dvoytenko commented on 2023-11-16
dennation
doiali
justrealmilk
timneutkens
timneutkens
manuelseisl
alexcarpenter
joacub
timneutkens
joacub
timneutkens
joacub
AmirL
sunwrobert
github-actions github-actions added locked
github-actions github-actions locked as resolved and limited conversation to collaborators 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone