Skip to content

feat(store): useOptimistic hook for react#291

Merged
mihar-22 merged 1 commit intomainfrom
feat/store-optimistic-bindings
Jan 6, 2026
Merged

feat(store): useOptimistic hook for react#291
mihar-22 merged 1 commit intomainfrom
feat/store-optimistic-bindings

Conversation

@mihar-22
Copy link
Copy Markdown
Member

@mihar-22 mihar-22 commented Jan 5, 2026

Summary

  • Add useOptimistic hook for optimistic UI updates during mutations
  • Returns optimistic value while pending, reverts on error

refs #228, #229

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
vjs-10-demo-html Ready Ready Preview, Comment Jan 6, 2026 1:23pm
vjs-10-demo-next Ready Ready Preview, Comment Jan 6, 2026 1:23pm
vjs-10-demo-react Ready Ready Preview, Comment Jan 6, 2026 1:23pm
vjs-10-website Ready Ready Preview, Comment Jan 6, 2026 1:23pm

@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-react January 5, 2026 08:22 Inactive
@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-html January 5, 2026 08:22 Inactive
@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-next January 5, 2026 08:22 Inactive
@mihar-22 mihar-22 marked this pull request as draft January 5, 2026 12:47
@mihar-22 mihar-22 force-pushed the feat/store-mutation-bindings branch from 95a572e to 2c06c75 Compare January 6, 2026 12:11
Base automatically changed from feat/store-mutation-bindings to main January 6, 2026 13:10
@mihar-22 mihar-22 closed this Jan 6, 2026
@mihar-22 mihar-22 force-pushed the feat/store-optimistic-bindings branch from e32babe to ecd4940 Compare January 6, 2026 13:13
@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-react January 6, 2026 13:14 Inactive
@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-html January 6, 2026 13:14 Inactive
@vercel vercel bot temporarily deployed to Preview – vjs-10-website January 6, 2026 13:14 Inactive
@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-next January 6, 2026 13:14 Inactive
@mihar-22 mihar-22 reopened this Jan 6, 2026
@mihar-22 mihar-22 marked this pull request as ready for review January 6, 2026 13:22
@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-html January 6, 2026 13:22 Inactive
@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-react January 6, 2026 13:22 Inactive
@vercel vercel bot temporarily deployed to Preview – vjs-10-website January 6, 2026 13:22 Inactive
@vercel vercel bot temporarily deployed to Preview – vjs-10-demo-next January 6, 2026 13:23 Inactive
@mihar-22 mihar-22 merged commit 8da3ab1 into main Jan 6, 2026
8 checks passed
@mihar-22 mihar-22 deleted the feat/store-optimistic-bindings branch January 6, 2026 13:23
@mihar-22 mihar-22 mentioned this pull request Jan 6, 2026
6 tasks
@github-actions github-actions bot mentioned this pull request Feb 26, 2026
@github-actions github-actions bot mentioned this pull request Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant