Results 2 issues of Dor Shinar

The `optimisticState` returned from `useOptimistic` is stale when the `state` param passed to `useOptimistic` is changed. The change could come from an RSC reponse or from a `setState`. React version:...

Status: Unconfirmed

Hi :) First of all I wanted to say that import cost is a very cool tool to use when working with external libraries! Lately I was working on a...