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

Objects are not valid as a React child #93

Open
joseneves-dev opened this issue Sep 20, 2023 · 2 comments
Open

Objects are not valid as a React child #93

joseneves-dev opened this issue Sep 20, 2023 · 2 comments

Comments

@joseneves-dev
Copy link

Hello, great work!
Before i put my question, do you have discord?

I am trying to applying your code to this:

https://ui.docs.amplify.aws/react/connected-components/liveness

i have falow the instructions but i am with some problems...

like this for exemple:

Uncaught (in promise) Error: Objects are not valid as a React child (found: object with keys {__v_isVNode, __v_skip, type, props, key, ref, scopeId, slotScopeIds, children, component, suspense, ssContent, ssFallback, dirs, transition, el, anchor, target, targetAnchor, staticCount, shapeFlag, patchFlag, dynamicProps, dynamicChildren, appContext, ctx}). If you meant to render a collection of children, use an array instead.

@devilwjp
Copy link
Collaborator

@FreeLancerPT Your error may be that your react jsx is compiled into VNode. You should check your configuration or provide me with an actual code example. I can help you solve the problem in more detail.

@moshuying
Copy link

looks like ts project, mybe u need this #94

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