First of all Thanks for your amazing solution.
I am not sure about reason of this issue but whenever I refresh page I lost all of this.props.location.state objects. Funny thing is that it works on my local but location.state doesn't preserve on published page. Do you have any idea? thanks
It's because location.state is saved in memory and not saved in the url. When you refresh the page the app reads from what's in the url. Note that this is not a spa-github-pages specific thing.
First of all Thanks for your amazing solution. I am not sure about reason of this issue but whenever I refresh page I lost all of this.props.location.state objects. Funny thing is that it works on my local but location.state doesn't preserve on published page. Do you have any idea? thanks