S
SolidJS2y ago
Max

Solid-Primitives Key compatible with 1.7 beta (types)?

Hi, wondering if anyone has tried using https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#Key together with [email protected]. After updating getting
'Key' cannot be used as a JSX component.
Its return type 'Accessor<Element[]>' is not a valid JSX element.
'Key' cannot be used as a JSX component.
Its return type 'Accessor<Element[]>' is not a valid JSX element.
when using Key.
GitHub
solid-primitives/packages/keyed at main · solidjs-community/solid-p...
A library of high-quality primitives that extend SolidJS reactivity. - solid-primitives/packages/keyed at main · solidjs-community/solid-primitives
5 Replies
Otonashi
Otonashi2y ago
@thetarnav need to update types
thetarnav
thetarnav2y ago
hey 1.7 is not out yet! but true, they have to be updated 👍
Max
MaxOP2y ago
Nice thanks, will wait for official 1.7
thetarnav
thetarnav2y ago
all of the primitives work last time I've checked, but yeah, some types haven't been updated
Max
MaxOP2y ago
Yes it was working wherever I was using it was just the types. But I think from solid start some things werent working with 1.7 beta, like route outlets.
Want results from more Discord servers?
Add your server