title: Passing Multiple parameters as catch them
body: <p>I'm trying to pass 'slug' in the URL by adding 'id' and 'type'.</p>
  <p>Code:</p>
  <pre><code>`/${category.slug}?cid=${category._id}&amp;type=${category.type}`   
   &lt;Route path=&quot;/:slug&quot; element={&lt;ProductListPage /&gt;} /&gt;
  </code></pre>
  <p>URL</p>
  <pre><code>http://localhost:3000/Samsung-3whQlbAYpm?cid=61ed050cab3efd275d49efd6&amp;type=store
  </code></pre>
  <p>Problem : However, in the useParam() I received only slug not addition parameters such as 'cid' and 'type'</p>
  <p>For example,</p>
  <pre><code>let params = useParams();
  </code></pre>
  <p>Its params have only 'slug' value which is 'Samsung-3whQlbAYpm'</p>
  <p>How can I get addition value ?</p>