Multi ref
Updated on August 22, 2024Source code
createMultiRef
is a utility function that combines multiple function refs, all of which need access to the same DOM element, into a single function ref that you can bind to your DOM element.
SHIFT
+ D
SHIFT
+ M
Updated on August 22, 2024Source code
createMultiRef
is a utility function that combines multiple function refs, all of which need access to the same DOM element, into a single function ref that you can bind to your DOM element.