createResource
I'm trying to be able to reuse functions for API calls, like how it's done with React Query, but the value of data.isLoading loses reactivity when I use it in my component.
1 Reply
This works in the playground:
https://playground.solidjs.com/anonymous/0173c9a5-3b29-491d-a84a-c98ed76c6fc7
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template