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...
it is specifically for Transitions. With what other function should it be collapsed? Keep in mind that you can have multiple optimistic states for a Transition.
0 reposts1 like