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

Function handleIndexChange

packages/history/src/index.ts:124–127  ·  view source on GitHub ↗
(action: SubscriberHistoryAction)

Source from the content-addressed store, hash-verified

122 }
123
124 const handleIndexChange = (action: SubscriberHistoryAction) => {
125 if (opts.notifyOnIndexChange ?? true) notify(action)
126 else location = opts.getLocation()
127 }
128
129 const tryNavigation = async ({
130 task,

Callers 1

createHistoryFunction · 0.85

Calls 1

notifyFunction · 0.85

Tested by

no test coverage detected