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

functional component can't render multiple root nodes if they are functional components too #7772

Closed
senid231 opened this issue Mar 8, 2018 · 3 comments

Comments

@senid231
Copy link

senid231 commented Mar 8, 2018

Version

2.5.13

Reproduction link

https://jsfiddle.net/senid231/cxuoxdme/24/

Steps to reproduce

just observe JSFiddle link

What is expected?

To see <span>Hi</span> 32 times (2^^5)

What is actually happening?

undefinedundefined

it renders undefined instead of each functional component

@senid231
Copy link
Author

senid231 commented Mar 8, 2018

functional components can render multiple VNodes (according to #7088 (comment))
but seems that it can't do that if VNode wrapped with another functional component

@yyx990803
Copy link
Member

This has been fixed in 8335217 (not released yet)

@ayumu-fujii
Copy link

I was in the process of writing composition as much as programming to send a request for this problem due to inadequate English skills. . .
very very very very great!!!

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

3 participants