Liana
Liana
Explore posts from servers
SSolidJS
Created by Liana on 11/28/2024 in #support
Using refs in list rendering
Is there any way to use refs in list rendering? In a <For> or <Index>, I'd like to have an array of refs, or generally a way to retrieve ref to an element in the list by index. I can't find any mention of it in the docs, and given that ref takes a variable or signal, I don't see how to assign a specific array key rather than a hardcoded variable.
5 replies