MCPcopy
hub / github.com/TanStack/router / onPushPop

Function onPushPop

packages/history/src/index.ts:399–402  ·  view source on GitHub ↗
(type: 'PUSH' | 'REPLACE')

Source from the content-addressed store, hash-verified

397
398 // NOTE: this function can probably be removed
399 const onPushPop = (type: 'PUSH' | 'REPLACE') => {
400 currentLocation = parseLocation()
401 history.notify({ type })
402 }
403
404 const onPushPopEvent = async () => {
405 if (ignoreNextPop) {

Callers 1

createBrowserHistoryFunction · 0.85

Calls 1

notifyMethod · 0.45

Tested by

no test coverage detected