title: NextJS redirect to other page without query params
body: <p>I am able to successfully redirect the user on successful login to the relative dashboard page. However, the URI is pretty polluted in this case <code>'somedomain.com/v1/internal/salesman/dashboard?name=SomeName&amp;email=someemail&amp;uid=somenumber'</code>. I was hoping to do something like <code>redirect(&lt;DashBoard someProps={someProps}/&gt;</code> instead of polluting the URI. Is it possible to achieve what I want in NextJS?</p>
  <pre><code>const onSubmit = async (e) =&gt; {
      e.preventDefault();
      
      const server_path = process.env.SERVER_ADDRESS;
      try{
        const res = await fetch(`${server_path}api/v1/internal/salesman/signin`, {
          method: 'post',
          headers: {
            'Accept': 'application/json, text/plain, */*',
            'Content-Type': 'application/json'
          },
          body: JSON.stringify({email: email.val, password: password.val})
        });
        if(await res.status === 200){
          const data = await res.json();
          router.push({pathname: '/internal/salesman/dashboard', query: {name: data.name, email: data.email, uid: data.uid}});
        }
      } catch(error){
        console.log(error);
      }
      
    }
  </code></pre>