I am making a login page with the help of react that redirects to another page when the login is successful. Let me call the component that gets rendered when the login is succe
you can access state using this.props.location.state
this.props.location.state