State Management · Junior · Question 50 of 75
What is an action in React Router?
- ✓Correct answer: A function that handles a data mutation from a
<Form>submission - 2A Redux action dispatched on navigation
- 3A click handler attached to
<Link>
Explanation
<Form method="post"> calls the route's action with the form data. After the action, the router automatically revalidates the page's loaders, so the UI shows fresh data without manual cache updates.