Skip to content

Conversation

@titoBouzout
Copy link
Contributor

@titoBouzout titoBouzout commented Nov 10, 2025

In an attempt to deprecate use: by proposing to use named refs (#445) in https://discord.com/channels/722131463138705510/1435384712443990096 ; It became evident that what people need is merging refs., thats done by supporting array values in refs.

This PR add support for that. Such

<div ref={[props.ref, myRef]}/>

Related:

@titoBouzout titoBouzout changed the title [next] WIP - remove use:, remove magic refs, make `ref accept arrays [next] WIP - remove use:, remove magic refs, make ref accept arrays Nov 10, 2025
@titoBouzout titoBouzout force-pushed the ref-arrays-remove-use-remove-magic-ref branch from 09e689f to e2868f1 Compare November 11, 2025 14:14
@titoBouzout titoBouzout changed the title [next] WIP - remove use:, remove magic refs, make ref accept arrays [next] ref accepts arrays Nov 11, 2025
@titoBouzout titoBouzout marked this pull request as ready for review November 11, 2025 14:24
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.

1 participant