max
Mutate data for optimistic updates with createAsync
When using createResource you can use the mutate() function to update the value directly for optimistic updates.
Is there a way to do this when using createAsync?
For example in this example, I'd like to optimistically update the
name()
before I call my api function to update it.
14 replies