Merge Refs in React

React

https://gist.github.com/cassidoo/0b156d0f2eb154c43eeed3b1f212bb20

Merge refs in React so a component can have more than one ref