How to Hide react router parameters and query strings from URL
<p>I have defined the routes in client.js as below, it works perfectly and i need to pass a JSON, so i tried passing as query parameter. </p>

<pre><code>&lt;Router history={appHistory}&gt;
    &lt;Route path="/" component={Login}&gt;&lt;/Route&gt;
    &lt;Route path='/login' component={Login}&gt;&lt;/Route&gt;
    &lt;Route path="/user" component={Home}&gt;&lt;/Route&gt;
&lt;/Router&gt;
</code></pre>

<p>In login component i am changing the route as below,</p>

<pre><code>hashHistory.push({
    pathname: '/user',
    query: { JSONResp: JSON.stringify(result.data)}
});
</code></pre>

<p>Its working fine, i am able to access the query params.</p>

<p>Is there any option to hide this query value from URL and also my JSON response size will be around 2MB is it advisable to pass this data in query parameter.</p>