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
{{ message }}
Repository navigation
Uncaught Error: A valid ReactComponent must be returned. #6
When I use your component, I get this error message:
Uncaught Error: A valid ReactComponent must be returned.
Figured, this happens because React is considering the component only valid if its enclosed in div tags. So when changing your code as below, things work properly well.
I made this a while ago, I'll check it out and update it tonight!
On Mon, Apr 11, 2016 at 19:36 ArnoBuschmann notifications@github.com
wrote:
Hi :)
When I use your component, I get this error message:
Uncaught Error: A valid ReactComponent must be returned.
Figured, this happens because React is considering the component only
valid if its enclosed in div tags. So when changing your code as below,
things work properly well.
Activity
zackify commentedon Apr 11, 2016
I made this a while ago, I'll check it out and update it tonight!
On Mon, Apr 11, 2016 at 19:36 ArnoBuschmann notifications@github.com
wrote:
ArnoBuschmann commentedon Apr 11, 2016
Yep. It's useful, thanks for creating it.
zackify commentedon Apr 13, 2016
I don't see this happening at all after testing. Any way you could provide a stack trace or some more code?
zackify commentedon Apr 15, 2016
I'm going to close this in a couple days if no reply