How to refresh a page without reloading, by refreshing I want to invoke the componentDidMount() function and render the view again.
Below code works when redirecting to a different URL but will not work if we redirect to the same URL.
props.dispatch(push('/sameUrl'));