
createSearchParams

 Type declarationdeclare function createSearchParams(
  init?: URLSearchParamsInit
): URLSearchParams;
createSearchParams is a thin wrapper around new URLSearchParams(init) that adds support for using objects with array values. This is the same function that useSearchParams uses internally for creating URLSearchParams objects from URLSearchParamsInit values.

    © React Training 2015-2019
{'path': 'public/docs/react_router/utils/create-search-params.html', 'source': 'DevDocs.IO'}