Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update components using Children.map #689

Open
tomjackking opened this issue Jan 28, 2024 · 0 comments
Open

Update components using Children.map #689

tomjackking opened this issue Jan 28, 2024 · 0 comments
Assignees

Comments

@tomjackking
Copy link
Collaborator

Raised by Samitha, the Children React API is legacy and we shouldn't be using it:
https://react.dev/reference/react/Children

Suggestion to convert that to using slots as seen here:
https://react.dev/reference/react/Children#accepting-an-array-of-objects-as-a-prop

@tomjackking tomjackking self-assigned this Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants