-
const [data, { refetch }] = createResource(fetchProducts) Loading... }>{(item) => {item()} }For each shows this error |
Beta Was this translation helpful? Give feedback.
Answered by
lxsmnsyc
Nov 22, 2021
Replies: 2 comments
-
You should call <For each={data()}>
{...}
</For> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ryansolid
-
Thanks. It works. I got help on Discord. https://playground.solidjs.com/?hash=-1089171677&version=1.2.3 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should call
data()