Adding Generic Type To UseActionState Hook In React 19
New hook 'useActionState' in React 19. Why does return type need to match initial state? Can't it be a generic type for different scenarios, like error objects?
Programador Junior Fullstack - React | React.Native | Node.JS