-
Notifications
You must be signed in to change notification settings - Fork 829
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
react-vis 0.3.1 XYPlot fails on nested child array #54
Comments
@ibgreen could you put an example of what you mean by nested child array? A minimum reproducible example help us track this down and ensure that we resolve the issue. |
@chrisirhc In my app, props.children is an array contain a mix of react elements and arrays containing additional react elements. Conceptually something like:
Normally props.children is considered an opaque data type and a component should use the React.Children utilities to deal with props.children The constructor calls |
This fix adds the support of React.Children.toArray() into the initialization of `XYPlot` component. This PR fixes #54.
Fixed in #57 , waiting for the review. |
This fix adds the support of React.Children.toArray() into the initialization of `XYPlot` component. This PR fixes uber#54.
This fix adds the support of React.Children.toArray() into the initialization of `XYPlot` component. This PR fixes uber#54.
Tried to upgrade from 0.1.1 to 0.3.1 but had to revert.
Got a crash in collectSeriesTypesInfo when it tried to process my application's nested array of XYPlot children.
Perhaps some higher level code is not first calling getSeriesChildren?
The text was updated successfully, but these errors were encountered: