Whenever you're ready, walk me through how you'd approach this.
Explain how you manage React component state and how it interacts with the browser environment.