Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Uncaught Error: Children.only() expects only one child. #174

Closed
katopz opened this issue Sep 4, 2016 · 2 comments
Closed

Uncaught Error: Children.only() expects only one child. #174

katopz opened this issue Sep 4, 2016 · 2 comments

Comments

@katopz
Copy link

katopz commented Sep 4, 2016

It's occur when I try to add precat-compat and preact@beta on https://github.com/lvarayut/relay-fullstack

Maybe this not support yet?

@developit
Copy link
Member

Is the error coming from one of the dependencies? preact-compat's Children.only() should match React's:
https://github.com/developit/preact-compat/blob/master/src/index.js#L138

Though really, we could make it a warning instead of an error. Not sure if that fixes the issue though.

@developit
Copy link
Member

This should be fixed in 3.4.2!

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

No branches or pull requests

2 participants