Skip to content

Allow ref to be passed to Component#5284

Merged
adhami3310 merged 1 commit intomainfrom
masenf/component-pass-ref
May 12, 2025
Merged

Allow ref to be passed to Component#5284
adhami3310 merged 1 commit intomainfrom
masenf/component-pass-ref

Conversation

@masenf
Copy link
Copy Markdown
Collaborator

@masenf masenf commented May 11, 2025

Override the default ref/id behavior when passing a ref prop directly. Allows better integration with third-party libraries that provide a ref which should be attached to some other component.

Needed for reflex-enterprise / react-dnd

Override the default `ref`/`id` behavior when passing a `ref` prop directly.
Allows better integration with third-party libraries that provide a ref which
should be attached to some other component.
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented May 11, 2025

CodSpeed Performance Report

Merging #5284 will not alter performance

Comparing masenf/component-pass-ref (e605946) with main (60df907)

Summary

✅ 8 untouched benchmarks

@adhami3310 adhami3310 merged commit 9b8aab9 into main May 12, 2025
42 checks passed
@adhami3310 adhami3310 deleted the masenf/component-pass-ref branch May 12, 2025 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants