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...
Thanks! I never actually read the docs of this before Something just doesn't feel right: if `useOptimistic()` always takes a state value as a parameter why not collapse both functions into one? Or why the manual extra layer? Or does this also integrate with react transitions and covers more?
0 reposts1 like