bradleyhogle
bradleyhogle
SSolidJS
Created by Nin on 9/18/2023 in #support
How to mutate a createResource storage
Didn't think to just destructure that way, clever.
18 replies
SSolidJS
Created by Nin on 9/18/2023 in #support
How to mutate a createResource storage
Excellent, thank you so much.
18 replies
SSolidJS
Created by Nin on 9/18/2023 in #support
How to mutate a createResource storage
Sorry, still getting the hang of createResource. I made a basic playground utilizing the snippet. My (incorrect) attempt at updating as you suggest, using mutate, is in the click handler. Currently it doesn't throw any errors, but also doesn't update. https://playground.solidjs.com/anonymous/06c4a426-68ef-4216-8137-b2415fc4722e
18 replies
SSolidJS
Created by Nin on 9/18/2023 in #support
How to mutate a createResource storage
@arvalaan @foolswisdom Would one of you be willing to post a snippet of a working version of that? I understand if not, but I'm working with a similar issue and trying to grok combining stores with createResource, as it seems to be absent from the documentation as a possibility.
18 replies