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

Undefined is not a function with new JSX transform with react 17 #99

Open
romanlex opened this issue Mar 9, 2021 · 3 comments
Open

Comments

@romanlex
Copy link

romanlex commented Mar 9, 2021

I have a multiple errors when trying use several react nodes inside overwise or if block
image

All work properly If I wrap this nodes to Fragment
image

@jailsonpaca
Copy link

same happens to me!

@jailsonpaca
Copy link

I solve now with the as parent, I forgot to put as parent of

@texttechne
Copy link
Collaborator

I don't think this has anything to do with this library: It all depends on what you have as surrounding code. Are you directly returning the Choose block? Would it also work if you put the fragment around the Choose block?

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