[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/js/dist/script-modules/route/ -> index.js (summary)

(no description)

File Size: 5560 lines (181 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 124 functions

  is()
  useSyncExternalStore()
  checkIfSnapshotChanged()
  useSyncExternalStore()
  is()
  memoizedSelector()
  __flush_internals()
  __notifyListeners()
  __notifyDerivedListeners()
  __flush()
  batch()
  isUpdaterFunction()
  createHistory()
  assignKeyAndIndex()
  createBrowserHistory()
  parseHref()
  createRandomKey()
  last()
  isFunction()
  functionalUpdate()
  replaceEqualDeep()
  getEnumerableOwnKeys()
  isPlainObject()
  hasObjectPrototype()
  isPlainArray()
  deepEqual()
  createControlledPromise()
  isPromise()
  findLast()
  decodePathSegment()
  decode2()
  invariant()
  joinPaths()
  cleanPath()
  trimPathLeft()
  trimPathRight()
  trimPath()
  removeTrailingSlash()
  exactPathTest()
  segmentToString()
  resolvePath()
  baseParsePathname()
  interpolatePath()
  encodeParam()
  encodePathParam()
  matchPathname()
  matchByPath()
  isMatch()
  handleParam()
  sortRoutes()
  processRouteTree()
  isNotFound()
  getSafeSessionStorage()
  createScrollRestorationCache()
  getCssSelector()
  restoreScroll()
  setupScrollRestoration()
  handleHashScroll()
  encode()
  toValue()
  decode()
  parseSearchWith()
  stringifySearchWith()
  stringifyValue()
  redirect()
  isRedirect()
  createLRUCache()
  makeMaybe()
  routeNeedsPreload()
  composeRewrites()
  rewriteBasepath()
  executeRewriteInput()
  executeRewriteOutput()
  getLocationChangeInfo()
  comparePaths()
  getInitialRouterState()
  validateSearch()
  getMatchedRoutes()
  applySearchMiddleware()
  CatchBoundary()
  ErrorComponent()
  ClientOnly()
  useHydrated()
  subscribe()
  warning()
  useStore()
  shallow()
  getOwnKeys()
  getRouterContext()
  useRouter()
  useRouterState()
  useMatch()
  useLoaderData()
  useLoaderDeps()
  useParams()
  useSearch()
  useNavigate()
  usePrevious()
  useIntersectionObserver()
  useForwardedRef()
  useLinkProps()
  createLink()
  isCtrlEvent()
  createRoute()
  createRootRoute()
  createFileRoute()
  createLazyRoute()
  createLazyFileRoute()
  Transitioner()
  CatchNotFound()
  DefaultGlobalNotFound()
  SafeFragment()
  renderRouteNotFound()
  ScriptOnce()
  ScrollRestoration()
  OnRendered()
  Matches()
  MatchesInner()
  useMatches()
  RouterContextProvider()
  RouterProvider()
  useLocation()
  useCanGoBack()
  useInvalidate()

Functions
Functions that are not part of a class:

is(x, y)   X-Ref
No description

useSyncExternalStore(didWarnOld18Alpha || void 0 === React12.startTransition || (didWarnOld18Alpha = true, console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.")   X-Ref
No description

checkIfSnapshotChanged(inst)   X-Ref
No description

useSyncExternalStore(return getSnapshot()   X-Ref
No description

is(x, y)   X-Ref
No description

memoizedSelector(nextSnapshot)   X-Ref
No description

__flush_internals(relatedVals)   X-Ref
No description

__notifyListeners(store)   X-Ref
No description

__notifyDerivedListeners(derived)   X-Ref
No description

__flush(store)   X-Ref
No description

batch(fn)   X-Ref
No description

isUpdaterFunction(updater)   X-Ref
No description

createHistory(opts)   X-Ref
No description

assignKeyAndIndex(index, state)   X-Ref
No description

createBrowserHistory(opts)   X-Ref
No description

parseHref(href, state)   X-Ref
No description

createRandomKey()   X-Ref
No description

last(arr)   X-Ref
No description

isFunction(d)   X-Ref
No description

functionalUpdate(updater, previous)   X-Ref
No description

replaceEqualDeep(prev, _next)   X-Ref
No description

getEnumerableOwnKeys(o)   X-Ref
No description

isPlainObject(o)   X-Ref
No description

hasObjectPrototype(o)   X-Ref
No description

isPlainArray(value)   X-Ref
No description

deepEqual(a, b, opts)   X-Ref
No description

createControlledPromise(onResolve)   X-Ref
No description

isPromise(value)   X-Ref
No description

findLast(array, predicate)   X-Ref
No description

decodePathSegment(part, decodeIgnore = DECODE_IGNORE_LIST, startIndex = 0)   X-Ref
No description

decode2(part2)   X-Ref
No description

invariant(condition, message)   X-Ref
No description

joinPaths(paths)   X-Ref
No description

cleanPath(path)   X-Ref
No description

trimPathLeft(path)   X-Ref
No description

trimPathRight(path)   X-Ref
No description

trimPath(path)   X-Ref
No description

removeTrailingSlash(value, basepath)   X-Ref
No description

exactPathTest(pathName1, pathName2, basepath)   X-Ref
No description

segmentToString(segment)   X-Ref
No description

resolvePath({base,to,trailingSlash = "never",parseCache})   X-Ref
No description

baseParsePathname(pathname)   X-Ref
No description

interpolatePath({path,params,leaveWildcards,leaveParams,decodeCharMap,parseCache})   X-Ref
No description

encodeParam(key)   X-Ref
No description

encodePathParam(value, decodeCharMap)   X-Ref
No description

matchPathname(currentPathname, matchLocation, parseCache)   X-Ref
No description

matchByPath(from, {to,fuzzy,caseSensitive}, parseCache)   X-Ref
No description

isMatch(baseSegments, routeSegments, params, fuzzy, caseSensitive)   X-Ref
No description

handleParam(segment, baseScore)   X-Ref
No description

sortRoutes(routes)   X-Ref
No description

processRouteTree({routeTree,initRoute})   X-Ref
No description

isNotFound(obj)   X-Ref
No description

getSafeSessionStorage()   X-Ref
No description

createScrollRestorationCache()   X-Ref
No description

getCssSelector(el)   X-Ref
No description

restoreScroll({storageKey: storageKey2,key,behavior,shouldScrollRestoration,scrollToTopSelectors,location})   X-Ref
No description

setupScrollRestoration(router, force)   X-Ref
No description

handleHashScroll(router)   X-Ref
No description

encode(obj, stringify = String)   X-Ref
No description

toValue(str)   X-Ref
No description

decode(str)   X-Ref
No description

parseSearchWith(parser)   X-Ref
No description

stringifySearchWith(stringify, parser)   X-Ref
No description

stringifyValue(val)   X-Ref
No description

redirect(opts)   X-Ref
No description

isRedirect(obj)   X-Ref
No description

createLRUCache(max)   X-Ref
No description

makeMaybe(value, error)   X-Ref
No description

routeNeedsPreload(route)   X-Ref
No description

composeRewrites(rewrites)   X-Ref
No description

rewriteBasepath(opts)   X-Ref
No description

executeRewriteInput(rewrite, url)   X-Ref
No description

executeRewriteOutput(rewrite, url)   X-Ref
No description

getLocationChangeInfo(routerState)   X-Ref
No description

comparePaths(a, b)   X-Ref


getInitialRouterState(location)   X-Ref
No description

validateSearch(validateSearch2, input)   X-Ref
No description

getMatchedRoutes({pathname,routePathname,caseSensitive,routesByPath,routesById,flatRoutes,parseCache})   X-Ref
No description

applySearchMiddleware({search,dest,destRoutes,_includeValidateSearch})   X-Ref
No description

CatchBoundary(props)   X-Ref
No description

ErrorComponent({ error })   X-Ref
No description

ClientOnly({ children, fallback = null })   X-Ref
No description

useHydrated()   X-Ref
No description

subscribe()   X-Ref
No description

warning(condition, message)   X-Ref
No description

useStore(store, selector = (d)   X-Ref
No description

shallow(objA, objB)   X-Ref
No description

getOwnKeys(obj)   X-Ref
No description

getRouterContext()   X-Ref
No description

useRouter(opts)   X-Ref
No description

useRouterState(opts)   X-Ref
No description

useMatch(opts)   X-Ref
No description

useLoaderData(opts)   X-Ref
No description

useLoaderDeps(opts)   X-Ref
No description

useParams(opts)   X-Ref
No description

useSearch(opts)   X-Ref
No description

useNavigate(_defaultOpts)   X-Ref
No description

usePrevious(value)   X-Ref
No description

useIntersectionObserver(ref, callback, intersectionObserverOptions2 = {}, options = {})   X-Ref
No description

useForwardedRef(ref)   X-Ref
No description

useLinkProps(options, forwardedRef)   X-Ref
No description

createLink(Comp)   X-Ref
No description

isCtrlEvent(e)   X-Ref
No description

createRoute(options)   X-Ref


createRootRoute(options)   X-Ref


createFileRoute(path)   X-Ref
No description

createLazyRoute(id)   X-Ref
No description

createLazyFileRoute(id)   X-Ref
No description

Transitioner()   X-Ref
No description

CatchNotFound(props)   X-Ref
No description

DefaultGlobalNotFound()   X-Ref
No description

SafeFragment(props)   X-Ref
No description

renderRouteNotFound(router, route, data)   X-Ref
No description

ScriptOnce({ children })   X-Ref
No description

ScrollRestoration()   X-Ref
No description

OnRendered()   X-Ref
No description

Matches()   X-Ref
No description

MatchesInner()   X-Ref
No description

useMatches(opts)   X-Ref
No description

RouterContextProvider({router,children,...rest})   X-Ref
No description

RouterProvider({ router, ...rest })   X-Ref
No description

useLocation(opts)   X-Ref
No description

useCanGoBack()   X-Ref
No description

useInvalidate()   X-Ref
No description



Generated : Wed Apr 15 08:20:10 2026 Cross-referenced by PHPXref