Skip to content

unclear documentation for useActionState with Next.js #7469

@vicnz

Description

@vicnz

server actions in Next.js are by nature async but useActionState does not permit it tho, you have to wrap it into a useTransition thats like "you need a another tool for that TOOL to work".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions