Function createRouteParamsManager
createRouteParamsManager< T extends Record<string, any> = Record<string, any>, I extends ISwitchItem = ISwitchItem,>( routes: I[], history: any,): { clear: void; (): null | T } Returns { clear: void; (): null | T }
- The function that returns the current route parameters object.
Creates a route parameters manager.