Optimistic Update & Image Uploads
I'm looking for a way to handle optimistic updates along with image uploads. Basically want the use to be able to add an image, and use optimistic updating and upload after the fact. Has anyone accomplished this?
2 Replies
Bumping
You'll have to run a mutation to effectively create a placeholder for the image, but the image itself you'll have to store in your client side state and somehow reference it based on the optimistic update. Details depend on your implementation.
Might be able to give better suggestions with more context.