lilactown / helix

A simple, easy to use library for React development in ClojureScript.
Eclipse Public License 2.0
624 stars 52 forks source link

Warning: React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead. #151

Open lilactown opened 10 months ago

rome-user commented 10 months ago

Can you provide a minimal reproducible example of this? I dont remember the entire patch I sent, but I did take care to ensure we always provide JS array when there are multiple children. This is done by checking if (next children) is a truthy value, as that confirms children is a seq with at least 2 elements.

lilactown commented 10 months ago

This appeared in our tests, and some of them are also failing - will try to narrow it down to something reproducible