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
Throwables.scala:18 Uncaught org.scalajs.linker.runtime.UndefinedBehaviorError: java.lang.ClassCastException: undefined is not an instance of scala.collection.immutable.Seq
however, using sequence of react elements directly without mapping works
@saulpalv hmm, this is interesting. Perhaps I missed this, but what happens if you pass in the sequence directly without : _*? Although it should work correctly in both cases.
in react is quite common to map an
Array[any]
to anArray[React Element]
, like thisunfortunately, slinky breaks when trying to map a
Seq[String]
to aSeq[ReactElement]
like the following, it doesn't change no matter if you use ascription
:*
however, using sequence of react elements directly without mapping works
i wonder if the problem may be caused by implicit conversions and how could a workaround be
The text was updated successfully, but these errors were encountered: