React hooks provide a way to register and access DOM events outside of the component itself. This means you can add event listeners that fire off when a user quordle taps on a button, or react to an alert message appearing in the browser’s status bar. In this tutorial, you’ll build an app that displays the current weather for a particular location, as well as how many hours of subway surfers sunshine there will be over the course of the day. You’ll use hooks to display both these pieces of information.