State Management · Junior · Question 50 of 75

What is an action in React Router?

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.

Further reading

Problem with a question

State Management · Junior · question 50

Test yourself

Take the State Management · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz