parsePath
react-router

parsePath

parsePath(path): Partial<Path>

Parses a string URL path into its separate pathname, search, and hash components.

Parameters

Docs and examples CC 4.0