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

Remove use of Children.map in favor of an alternative approach #57

Open
morganney opened this issue Dec 3, 2023 · 1 comment
Open

Comments

@morganney
Copy link
Owner

https://react.dev/reference/react/Children#alternatives

@morganney morganney converted this from a draft issue Dec 3, 2023
@morganney morganney changed the title Remove use of Children.map in favor of alternative approaches outlined in the React documentation Remove use of Children.map in favor of an alternative approach Dec 3, 2023
@morganney
Copy link
Owner Author

Should consider a render prop or children as function pattern. This would leave the hook only responsible for working with strings and not a react tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant