Build a custom React dropdown menu component

preview_player
Показать описание
Learn how to build a custom React dropdown menu component with @RealToughCandy.

00:00 LogRocket intro
00:15 Intro to the React dropdown menu component
00:40 Visual structure of a React dropdown menu component
01:36 What is the parent/child relationship in React?
04:17 Can a child component change a parent's state?
05:20 How do you make a multiselect dropdown in React?
06:05 Creating a dynamic header title
08:05 How do you get an outside click event in React?
10:06 Subscribe to LogRocket

Links
Рекомендации по теме
Комментарии
Автор

I like this way of _explaining_ code 👏 Shows investment.

The unedited live coding approach where some YouTuber clatters on an keyboard and gives a commentary (for the blind!) on what they are doing is a bit like watching Bob Ross or ASMR videos. Great fun but kinda indulgent.

Presenting code as implemented and explaining moves me from awareness to understanding to using it way more effectively. I want to see more like this. And less Foo and f#+king Bar in documentation.

ryanoshea
Автор

Who is using class components in 2021?? Use hooks and functional components

VladBurlutsky