GitHub

Isomorphic Hooks

useSearchParams

Retrieve URL search parameters of the current route.

Client / Server


Usage

import { useSearchParams } from '@microeinhundert/radonis'


const searchParams = useSearchParams()


console.log(searchParams) // => `{ paramKey: 'Param value' }`
Previous
useParams