Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 693 Bytes

File metadata and controls

16 lines (10 loc) · 693 Bytes
title Search Params
toc false

Search Params Example

This example demonstrates how to read and write the URL query string using the useSearchParams() hook. This hook is similar to the useNavigate() hook, but just for the search portion of the URL.

In this example, we have a form to search for a user on GitHub and display their user profile.

Preview

Open this example on StackBlitz:

Open in StackBlitz