Workiva / react-dart

Dart Bindings for React JS
BSD 2-Clause "Simplified" License
412 stars 67 forks source link

Add chainRef/chainRefList utilities #262

Closed greglittlefield-wf closed 4 years ago

greglittlefield-wf commented 4 years ago

Motivation

There are some cases in which you may want to set multiple refs on a component.

In particular, when using forwardRef or ref props, you may have a ref set by the consumer of the component in addition to an internal ref that need to be set on the same component.

Solution

Testing