Skip to content

Fix React 19 slot registration - #6

Merged
kolengri merged 2 commits into
masterfrom
agent/react-19-compatibility
Jul 30, 2026
Merged

kolengri merged 2 commits into
masterfrom
agent/react-19-compatibility

Conversation

@kolengri

Copy link
Copy Markdown
Owner

What changed\n\n- Replaced the -backed slot registry with a closure-backed registry.\n- Bumped the package version to 2.0.4.\n- Added a regression test that prevents reintroducing the unsupported approach.\n\n## Why\n\nReact 19 no longer applies to function components, so the previous implementation passed an empty slot list and produced empty .\n\n## Validation\n\n- Built successfully with the repository's frozen Yarn dependencies.\n- Verified the slot-prop flow directly against React 19.2.7.\n

@kolengri
kolengri marked this pull request as ready for review July 30, 2026 19:17
@cursor

cursor Bot commented Jul 30, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@kolengri
kolengri merged commit 5e5d384 into master Jul 30, 2026
2 checks passed
@kolengri
kolengri deleted the agent/react-19-compatibility branch July 30, 2026 19:22
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