How to Create a YouTube ‘Latest Video Viewer’ with React

How to Create a YouTube ‘Latest Video Viewer’ with React

In this tutorial, we’ll use some of the basics of React including React hooks to build a simple app that lists the latest YouTube videos for a particular channel.

In this tutorial, we’ll use some of the basics of React including React hooks to build a simple app that lists the latest YouTube videos for a particular channel.

This article is based on a video tutorial from my own YouTube channel which you can view here. A demo of the project can be seen here.

Image for post

Example of the completed APP

The app works by making use of YouTube’s RSS feed and extracting the video information including thumbnail and title etc.

Getting started

So we’ll need a development environment capable of understanding and compiling our React and JSX code. You can create a new app with *create-react-app *if you’re familiar with that or you can clone my React starter from here which is what I used in the video tutorial.

We’ll need a few components for our app, so in your src folder let’s create App.js for our main app, Search.js for our form fields to lookup specific YouTube channels and Video.js which will be the component for displaying an individual entry from the RSS feed.

Let’s also create an SCSS file for our Sass App.scss and an index.js file to bootstrap the application.

react-hook react web-development javascript

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

How native is React Native? | React Native vs Native App Development

Article covers: How native is react native?, React Native vs (Ionic, Cordova), Similarities and difference between React Native and Native App Development.

Hire Dedicated React Native Developer

Have you ever thought of having your own app that runs smoothly over multiple platforms? React Native is an open-source cross-platform mobile application framework which is a great option to create mobile apps for both Android and iOS. **[Hire...

Hire Dedicated React Native Developer in India | React Native Development

Hire dedicated React Native developers for your next project. As the top react native development company we offer you the best service as per your business needs.

Learn React Redux With React Hooks - React JavaScript Tutorial

In this video I wanted to show the basics of Redux in React, I didn't go over anything complex as I wanted this to be a beginners introduction into Redux. Let me know in the comments if you would like to see more content on redux such as Redux Thunk.

Hire React Js Developer from Expert React JS Development Company

Are you looking to [hire React JS developer](https://www.mobiwebtech.com/react-js-development-company/ "hire React JS developer") from a prestigious and reliable React JS development company? Visit at Mobiweb Technologies here we have a big team...