Scroll to mapped Components CORRECTLY in React ? - Mapping react refs

In this video I show you how to map refs onto components correctly in react and control which component we scroll to.

00:00 Introduction
00:37 Tutorial Start
12:21 Mapping refs in React
16:25 Scrolling to the top most un-clicked component
? Sign up for updates on my Full Stack Developer Course:

? Check out my IDE here and get 1 month free:

? New to code and none of this is making sense? Watch my ’12hr+ YouTube Coding Bootcamp’ in which you will learn HTML, CSS and JavaScript Fundamentals completely from scratch. It’s on my channel and its 100% free.

? In most videos I use Tabnine as my A.I autocompletion tool. You can download it for free here (I get no commission from this link, but am in a partnership):

? You can get a blockchain domain with my affiliate link here:

? If you would like to buy me a coffee, well thank you very much that is mega kind! :

? Sign up for weekly coding tips from my newsletter partnership:

You can also find me on: