React Core PR — New useActionState hook It turns out the useFormState hook was confusing, and not even meant to be solely used in forms. The React team is addressing this by introducing a new React core hook to replace it: Renames useFormState to useActionStateAdds a pending state to the returned tupleMoves the hook to the react packageMoving it from react-dom to react also means that now, other r
![This Week In React #176: useActionState, React Compiler, Million Lint, TanStack, Generative UI…](https://cdn-ak-scissors.b.st-hatena.com/image/square/939a5aa2ccabd1593e026c878d143a86aafd0c02/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F0%2AKplXQ158COLef9xL.jpg)