You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this is a bug or if i am doing it wrong,
When i have a component that the render returns an array in Fiber, the rendered returns only the first element
constWrap=({ children })=>children;describe('Test',()=>{it('renders 2 div',()=>{constrendered=ReactTestRenderer.create(<Wrap><div>One</div><div>Two</div></Wrap>);console.log(rendered.toTree().rendered);})})
What is the current behavior?
Log's only the first element
What is the expected behavior?
I think this should be an array of elements
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
React 16
The text was updated successfully, but these errors were encountered:
I don't know if this is a bug or if i am doing it wrong,
When i have a component that the render returns an array in Fiber, the rendered returns only the first element
What is the current behavior?
Log's only the first element
What is the expected behavior?
I think this should be an array of elements
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
React 16
The text was updated successfully, but these errors were encountered: