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

Add Helper method "Fragment" to wrap list of react child components #1

Open
Javaherr opened this issue Aug 30, 2018 · 0 comments
Open

Comments

@Javaherr
Copy link

React has this Fragments to group a list of children without adding extra nodes to the DOM.

It would be really helpful to have Fragment helper method in both @cyclejs/react-dom & @cyclejs/react-native to wrap an array of child components in it.

Without it if we wrap an array of child components in div or View we get into "Each child in an array or iterator should have a unique key prop" issue.

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

No branches or pull requests

1 participant