title: How to mutate with query params in SWR hook?
body: <p>currently i am using SWR to data fetching, i trying to use <strong>Mutation</strong> feature of SWR to refetch the new data but this occurred a problem when i am calling mutate() by <strong>key</strong> was added new query params.</p>
  <p>Here's my code not working:</p>
  <pre><code>import useSWR, { useSWRConfig } from 'swr'
  
  function Profile () {
    const { mutate } = useSWRConfig()
    const { data } = useSWR('/api/post', fetcher)
  
    return (
      &lt;div&gt;
  
        &lt;h1&gt;Title post {data.title}.&lt;/h1&gt;
  
        &lt;button onClick={() =&gt; {            
          mutate('/api/post?author=1&amp;pricing=1')
        }}&gt;
          View more information of this post!
        &lt;/button&gt;
  
      &lt;/div&gt;
    )
  }
  </code></pre>
  <p>I read docs from SWR and i know the key of the mutate should be the same to key in useSWR() but in my case need more query params to get the corresponding data</p>
  <p>How can i solve this problem?
  Helps me please!</p>