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
Rendering array of elements results in undefined #1039
Comments
It's because your render function isn't compatible. It has no callback. |
It's also now putting "undefined" into the DOM for an application that worked with react. |
Can you show your entire codes/repo? |
I'm not really doing anything fancy. I just want a minimal preact setup. It's just putting in .
Then just render(, container) fails. |
It's just returning undefined when you pass in arrays. |
Preact currently does not support render array. It's on the todo list though |
I have something like x = function(), etc in my jsx file and when I try to switch from react to preact it seems to think that's a JSX node.
The text was updated successfully, but these errors were encountered: