React advanced pattern - reusable behavior hooks through ref | JSer - React is so cool

preview_player
Показать описание
We can create behavior hooks and attach them to React element through ref.
Which gives us better flexibility by enabling combining behaviors not worrying what to expose if done through reusable components.

This is a pretty nice pattern to learn.

Hi I'm a JavaScript engineer who is not good at algorithms,
and currently practicing leetCode & BFE.dev. If you are interested, maybe we can learn together.

Рекомендации по теме
join shbcf.ru