1 min readOct 3, 2020
Mahindradatla React does not maintain its own state so is the same case with Routing. If you need to maintain the information even after a refresh, you need to use HTML5 local storage. Check out my previous article here to learn how to achieve it: https://medium.com/javascript-in-plain-english/everything-you-need-to-know-about-html5-local-storage-and-session-storage-479c63415c0a#38cc