Replies: 1 comment
-
I see because it uses length to determine all behavior and an undefined sets it down a path where it tries to initialize a new array with the length undefined. Hmm.. I can probably add one more check that will no op it. But that's probably worse than no error. I kinda prefer not to isArray check it everytime unnecessarily. I suppose I could add that check in dev as a happy medium. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
when i pass an object to
<For>
then solidjs throws the confusing error message
RangeError: Invalid array length
which ideally should be something like
TypeError: expected array
Beta Was this translation helpful? Give feedback.
All reactions