Post
This is after reading this: www.solidjs.com/blog/async-s... which is honestly very cool demo: playground.solidjs.com/anonymous/45...
For those use cases React has useOptimistic: react.dev/reference/re...
I was thinking with state because itβs like having optimistic state. But looking at solid, the reversed approach seems easier: a function (called latest) to get the optimistic value
0 reposts0 likes
No replies yet.