565 Views
React 16 has a forwardRef function. The function creates a new component with its ref attached to one of the child component. Why is this a big deal? In React, key and ref are special props which are not part of this.props within the component. I will explain this with a little bit of code.
0 comments