Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix useState function initialiser case for
optimize_server_react
tr…
…ansform (#55551) This addresses the case mentioned in #54925 (review). We can't optimize the case where we can't statically determine the type of the `useState` argument as it can be a function: `useState(() => ...)`.
- Loading branch information