---
title: "Discussion on \"using URLSearchParams for Query String in ReactJs\" | Hashnode"
description: "Discussion on \"using URLSearchParams for Query String in ReactJs\". What is a query string?\nA Query string is a portion of the URL where data is sent across the application to the server.\ne.g\nhttps://localhost:3000/products?page=1&category=music\n\nHow do we write query string\nURLs are stateless; they are not meant to ..."
url: "https://hashnode.com/posts/using-urlsearchparams-for-query-string-in-reactjs/62da6d4ce3b09e6748884a17"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [using URLSearchParams for Query String in ReactJs](https://emmanuelbyte.hashnode.dev/using-urlsearchparams-for-query-string-in-reactjs?utm_source=hashnode&utm_medium=feed)

What is a query string? A Query string is a portion of the URL where data is sent across the application to the server. e.g https://localhost:3000/products?page=1&category=music How do we write query string URLs are stateless; they are not meant to ...

Jul 22, 2022 · 2 min read · emmanuelbyte.hashnode.dev  
Read the article

-   [#query](https://hashnode.com/tag/query)
-   [#string](https://hashnode.com/tag/string)
-   [#search-params](https://hashnode.com/tag/search-params)
-   [#react-search-params](https://hashnode.com/tag/react-search-params)

## Written by

[Emmanuel Ifeanyi MECHIE](https://hashnode.com/@emanuleone)

@emanuleone · Lagos

  
[View profile](https://hashnode.com/@emanuleone)

Typescript, React, Reactjs, Nextjs,

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
