Optimistic UI with useSubmissions/useSubmission not working
I'm trying to use useSubmission to show optimistic UI but I can't get it to work, the pending state never gets shown. I've followed along with this blog post https://www.brenelz.com/posts/optimistic-ui-with-solid-start/ and the "pending" todos never show, the todos from the server just pop in after the promise has resolved.
StackBlitz here https://stackblitz.com/edit/github-a9ukgq-sypzel?file=src%2Fpages%2FHome.tsx
Optimistic UI With SolidStart
A website containing blog posts related to the frontend.
Connor Dowson
StackBlitz
Solid-start Basic Example (forked) - StackBlitz
Run official live example code for Solid-start Basic, created by Solidjs on StackBlitz
2 Replies