track click outside component | class component | custom hook | React

preview_player
Показать описание

Hello, I make videos about programming and tech especially JavaScript.
in this video I show you how track and find out click out side component, this is useful for
when we have menu button and something like this, when click outside of it and we want to
do some action like close it.
I hope you enjoy this video
please subscribe and like and leave comments to help and improve the content.

code along👍😎
Рекомендации по теме