How to iterate over Object.entries()?
How does one use
<index> or <for> together with Object.entries(obj)
this only seems to work for {k()[0]}, and not {k()[1]}
Playground example: https://playground.solidjs.com/anonymous/349c6400-367b-4856-938a-8cf5b4208aea
In the console it logs: Unrecognized value. Skipped inserting {a: 'a'}Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
3 Replies
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
You need to stringify
k()[1] because you can't display objects as isthx, that did the trick