S
SolidJS15mo 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 solid-js@1.7.0-beta.0. 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
Otonashi15mo ago
@thetarnav need to update types
thetarnav
thetarnav15mo ago
hey 1.7 is not out yet! but true, they have to be updated 👍
Max
Max15mo ago
Nice thanks, will wait for official 1.7
thetarnav
thetarnav15mo ago
all of the primitives work last time I've checked, but yeah, some types haven't been updated
Max
Max15mo 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.