Loading tutorials
app/root.tsx and app/routes.ts. In framework mode, app/routes.ts is the single place where URL paths are tied to route module files.2 min read<head> and <body> are, and have a project from the previous chapters with app/routes.ts in place.2 min readapp/routes.ts, know how a route module exports a default component, and are comfortable with React components and props. Here you will see how routes nest, how a parent renders its children with Outlet, and how a layout route shares UI without adding a URL segme2 min readOutlet. Here you will move between those routes without a full page reload.2 min readapp/routes.ts. A loader is the function a route module exports to supply data before the route renders.2 min read.server file naming idea, and basic Node.js environment variables. It covers how framework mode separates server and browser code, and the mistakes that break that separation.1 min readFormData API. It also assumes you have read the chapters on route configuration and loaders.2 min readFormData, HTTP status codes, and the basics of route action functions and Form from the previous chapter. It covers how an action rejects bad input and how the component shows the problem.2 min readloader and an action, and that you have used Form to submit data. You should also know basic React state and conditional rendering.2 min readForm, and useNavigation. You should be comfortable with route modules, action functions, and FormData.2 min read<head> content. You do this with two exports, meta and links, and React Router combines them for the matched routes.2 min readSet-Cookie headers work. It covers cookie-based sessions with route protection, then streaming slow data with Await.2 min readloader and action functions, and the Route types that React Router generates. It covers three topics: running data code in the browser, serving non-HTML responses, and choosing how the app is rendered.2 min read