Skip to content

chore: update component types to accept ref array - #2970

Merged
ryansolid merged 1 commit into
solidjs:nextfrom
jer3m01:chore/type
Aug 4, 2026
Merged

chore: update component types to accept ref array#2970
ryansolid merged 1 commit into
solidjs:nextfrom
jer3m01:chore/type

Conversation

@jer3m01

@jer3m01 jer3m01 commented Aug 4, 2026

Copy link
Copy Markdown
Member

Summary

Update the Ref<T> type to accept array of refs and move undefined into it (to allow arrays containing undefined, works in runtime).

Matching PR for dom-expressions: ryansolid/dom-expressions#560

@changeset-bot

changeset-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 15b512f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages
Name Type
solid-js Patch
@solidjs/element Patch
@solidjs/h Patch
@solidjs/html Patch
@solidjs/universal Patch
@solidjs/web Patch
test-integration Patch
babel-preset-solid Patch
@solidjs/signals Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codspeed-hq

codspeed-hq Bot commented Aug 4, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 7 untouched benchmarks
⏩ 117 skipped benchmarks1


Comparing jer3m01:chore/type (ad650ab) with next (c5f2ca8)

Open in CodSpeed

Footnotes

  1. 117 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@ryansolid
ryansolid merged commit 8e1ceec into solidjs:next Aug 4, 2026
4 of 5 checks passed
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.

2 participants