Published in


Working with multiple Refs on React

It is not as complicated as you might think

React & Multiple refs: easier than you think.

Say hello to #StraightToThePoint series

NERDJACKING is just launching the #StraightToThePoint series: short stories with no chit-chat, just pure hands on code.

On every story you will find smart code snippets that can elevate your coding experience and save you time to focus on what’s important.






mergeRefs(ref, localRef);

Real world scenario / Usage case

Playground demo

working with multiple references on React — playground

Got something on your mind? Let us know in the comments 💪



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store