title: React JS how to remember the clicked item in a list when I pass to next page
body: <p>I listed some countries in my Country.js page using ListItem. I created a CodeSandbox and this is the link for it:</p>
  <p><a href="https://codesandbox.io/s/country-stuwd" rel="nofollow noreferrer">My Code</a></p>
  <p>I want the program to remember the clicked list item in the list in Country.js file and when I go to next page (press the next button) and back again (press the back button), the selected item before going to next page should also be selected. Sorry for the bad stylings, I did not add them.</p>
  <p>Note: I implemented this feature in forms (radio group) but, I could not do this in a list.</p>