# React Router 7: Search Params (alias Query Params)

DevFeed: [React Router 7: Search Params (alias Query Params)](<https://devfeed.tech/articles/react-router-7-search-params-alias-query-params-18973.md>)

Original publisher: [Read original article](<https://www.robinwieruch.de/react-router-search-params/>)

Author: Robin Wieruch

Published: 2025-01-06T05:52:54Z

Content type: tutorial

Language: en

Sources: [Robin Wieruch](<https://devfeed.tech/sources/robin-wieruch.md>)

Topics: [React Router](<https://devfeed.tech/topics/react-router.md>), [React](<https://devfeed.tech/topics/react.md>), [Query (disambiguation)](<https://devfeed.tech/topics/query.md>)

Tags: [query](<https://devfeed.tech/tags/query.md>), [react](<https://devfeed.tech/tags/react.md>), [react-router](<https://devfeed.tech/tags/react-router.md>), [react-router-7](<https://devfeed.tech/tags/react-router-7.md>), [react-router-params](<https://devfeed.tech/tags/react-router-params.md>), [react-router-query-params](<https://devfeed.tech/tags/react-router-query-params.md>), [react-router-search-params](<https://devfeed.tech/tags/react-router-search-params.md>), [react-router-tutorial](<https://devfeed.tech/tags/react-router-tutorial.md>), [search](<https://devfeed.tech/tags/search.md>), [state](<https://devfeed.tech/tags/state.md>), [url](<https://devfeed.tech/tags/url.md>)

## AI overview

The tutorial shows how React Router 7's `useSearchParams` can keep a book-list search in the URL so filtered results can be shared and reproduced by another user. It contrasts this with storing the filter in React's `useState`, which the excerpt says works for one user but does not make the search shareable. The excerpt notes that `useSearchParams` is not a direct `useState` replacement: it operates on an object rather than a string because a URL can contain multiple parameters. The supplied text cuts off before explaining further implementation details.

## Source excerpt

How to: Search Params in React Router 7. A example on Search Params (also called Query Params) with React Router ...