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

Use React.Children API as per React docs #381

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

motiz88
Copy link

@motiz88 motiz88 commented Apr 5, 2017

Reference - props.children is an opaque data structure in React: https://facebook.github.io/react/docs/react-api.html#react.children

Motivation - At least for me, passing an array of children was in some cases causing an infinite render loop on both Android and iOS (simulators & device), crashing the app. This fixed it.

Reference - `props.children` is an opaque data structure in React:
https://facebook.github.io/react/docs/react-api.html#react.children

Motivation - At least for me, passing an array of children was in some
cases causing an infinite render loop on both Android and iOS
(simulators & device), crashing the app.
@almirfilho
Copy link

Good! I was about to make the same PR!
Bump plz! =D

@arribbar
Copy link
Collaborator

@motiz88 Thanks for this PR.
Can you update it please? It seems there are some conflicts now...

@arribbar
Copy link
Collaborator

arribbar commented Sep 8, 2017

@motiz88 Do you have some time to resolve conflicts on this PR ?

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

Successfully merging this pull request may close these issues.

3 participants