Closed nippur72 closed 8 months ago
when using the suggested type-safe version of <For>
<For>
<For of={list} body={el=><div></div>}/>
I get:
WARN(tsx-control-statements): "each" property of For is missing
Looking at the source code, it seems that each is mandatory.
each
It's not, but that's my buggy code for you :v: Gonna have some free time the next couple of days, will publish a fix and post here
publish 5.1.1 which should get rid of the warning :headstone:
when using the suggested type-safe version of
<For>
I get:
Looking at the source code, it seems that
each
is mandatory.