Lets say I have code that sets state for a select box chosen on the previous page:

```
this.setState({selectedOption: 5});

```

Is there any way to have `this.state.selectedOption` populated with 5 after a page refresh?

Are there callbacks that I can use to save this in localStorage and then do one large `setState` or is there a standard way of doing something like this?