Re-exports§
pub use prefetch::Eagerness;pub use prefetch::PrefetchConfig;pub use prefetch::SpeculationMode;pub use params::Params;pub use params::search_params;pub use seed::QuerySeed;pub use seed::SeedEntry;pub use seed::seed_key;pub use axum;pub use http;pub use utoipa;pub use serde_json;
Modules§
- conventions
- discovery
- health
- Unified start-temperature telemetry:
GET /__nx/health. - openapi
- Serving the OpenAPI document that the build-time codegen produces.
- params
- Matched route params for React pages (the
[seg]directory convention). - prefetch
- Speculative navigation — automatic prefetch/prerender via the browser’s native Speculation Rules API.
- router
- seed
- Server-side React Query cache seeding (the
prefetch.rsconvention).
Attribute Macros§
- api
#[nextrs::api(...)]— typed API handler with the OpenAPI path derived from the file location. Seenextrs_macros::api. Annotate aroute.rsmethod as a typed API endpoint, deriving the OpenAPIpathfrom the file’s location underapp/.