Welcome back to Engineering Mind! 🚀 In today's video, we're diving deep into the world of React hooks, specifically useState, useEffect, and useRef. We'll explore these hooks through a practical example of creating a horizontally scrollable list component.
🔍 What You'll Learn:
The basics and advanced usage of useState, useEffect, and useRef hooks
How to manage state and side effects in functional components
Setting up a horizontal scroll list with dynamic arrow visibility
Implementing responsive design using hooks
👨💻 Code Example:
We'll build a horizontal scroll list that displays cards and has left and right arrow navigation. This real-world example will help you understand the hooks in action and see how they interact to create a smooth, user-friendly UI.
📚 Timestamps:
0:00 - Introduction
1:43 - Overview of React Hooks
2:06 - Setting Up the Project
3:49 - Card Setup
9:00 - Implementing useRef, useState, useEffect
24:15 - Explaining the complete workflow
25:00 - Cleaning up the code
26:13 - Putting It All Together & explanation
Github Repo :- https://github.com/rohitsingh-23/Intr...
👨💻📋 Find More Coding Challenges (helpful for interviews & practise): • Coding Challenges
💬 Let’s Connect:
LinkedIn : / rohit23498
Join Discord Community (post your questions): / discord
Follow me on Github: https://github.com/rohitsingh-23
👍 Like, Comment, and Subscribe!
If you found this video helpful, please give it a thumbs up, leave a comment, and don't forget to subscribe for more Web Development content!
Hashtags:
#ReactJS #ReactHooks #useState #useEffect #useRef #WebDevelopment #CodingTutorial #JavaScript #FrontendDevelopment #EngineeringMind
Tags:
React, ReactJS, React Hooks, useState, useEffect, useRef, JavaScript, Web Development, Frontend Development, Coding Tutorial, Horizontal Scroll List, React Tutorial, Programming, Engineering Mind, Learn React, React Components, UI Development, Responsive Design