State Management · Middle · Question 44 of 75

How does a component read the data returned by its route loader?

Explanation

The router runs the loader before rendering the route and passes the result in. With type generation in framework mode, loaderData is fully typed.

Further reading

Problem with a question

State Management · Middle · question 44

Test yourself

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

Take this quiz