Thanks for the advice, Chris. I’ve tried once using refs and I couldn’t make it work. Maybe it wasn’t the best scenario. Will keep it in my mind! ;)
Thanks for the advice, Chris.
Adrián Bona
1

Try them again! In 16.4 they made refs a waaay simpler and easy you use, all you do is define the ref in your constructor using ‘createRef’ I believe and then you set the ref you want your DOM element to reference in your jsx below.