---
title: "Comment by Sewn Shara on \"Create a Weather App with React Hooks: Part 2\" | Hashnode"
description: "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 qu"
url: "https://hashnode.com/posts/create-a-weather-app-with-react-hooks-part-2/5faf834dab2abe435ce68afd/comment/62f1d099c1e76d621b3f8e78"
---

[Discussion](https://hashnode.com/posts/create-a-weather-app-with-react-hooks-part-2/5faf834dab2abe435ce68afd)

Comment [Create a Weather App with React Hooks: Part 2](https://hashnode.com/posts/create-a-weather-app-with-react-hooks-part-2/5faf834dab2abe435ce68afd)

[Sewn Shara](https://hashnode.com/@shara123)

[Aug 9, 2022](https://hashnode.com/posts/create-a-weather-app-with-react-hooks-part-2/5faf834dab2abe435ce68afd/comment/62f1d099c1e76d621b3f8e78)

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](https://quordle.onl/) 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](https://subwaysurf.io/) sunshine there will be over the course of the day. You’ll use hooks to display both these pieces of information.
