Reader small image

You're reading from  Full Stack Web Development with Remix

Product typeBook
Published inNov 2023
Reading LevelIntermediate
PublisherPackt
ISBN-139781801075299
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Andre Landgraf
Andre Landgraf
author image
Andre Landgraf

Andre is a full stack developer from Germany. He graduated with an MS in Information Systems from the Technical University of Munich and was also awarded an MS in Computer Science from Sofia University in Palo Alto. Andre currently lives in Cupertino, California, and he works as a Software Engineer at LinkedIn. Andre loves learning, writing, and speaking about all things web. In his free time, he tutors aspiring developers and builds for the web.
Read more about Andre Landgraf

Right arrow

Working with search parameters

The URL stores information about the user’s current location. We already utilize dynamic route parameters for expense and invoice identifiers. Similarly, we can use URL search parameters to store additional application states.

A URL is the perfect place to persist state that concerns only one or a few pages. In this section, we will use URL search parameters to create a search filter on the expense overview page in BeeRich.

Did you know that Google uses a search parameter to implement search queries? Open google.com and use the search input field to start a new Google search. After pressing Enter, Google navigates you to the search results page. If you inspect the URL, you will see that Google uses a search parameter called q (short for query probably) to store your search query: https://www.google.com/search?q=Using+search+params+in+Remix.run.

Search parameters are key-value pairs that are added to the URL after the pathname following...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Full Stack Web Development with Remix
Published in: Nov 2023Publisher: PacktISBN-13: 9781801075299

Author (1)

author image
Andre Landgraf

Andre is a full stack developer from Germany. He graduated with an MS in Information Systems from the Technical University of Munich and was also awarded an MS in Computer Science from Sofia University in Palo Alto. Andre currently lives in Cupertino, California, and he works as a Software Engineer at LinkedIn. Andre loves learning, writing, and speaking about all things web. In his free time, he tutors aspiring developers and builds for the web.
Read more about Andre Landgraf