Leptos
- Category
- Frameworks and libraries
- Docs outline
- 14 sections
Official docs outline
book.leptos.dev- Getting started
Project setup, client-side versus server-side rendering, cargo-leptos and the development workflow.
- Building the UI: components and the view macro
Components, props, the view! macro, dynamic attributes, iteration, forms and control flow.
- Parent-child communication
Passing signals, callbacks, context and events between parent and child components.
- Reactivity
Signals, derived signals, memos and effects, and how the fine-grained reactive graph updates the DOM.
- Working with signals
Reading, writing and updating signals, RwSignal, signal splitting and the Send/Sync storage model.
- Async: resources, Suspense and actions
Loading data with Resource, showing fallbacks with Suspense and Transition, and mutating with Action.
- Error handling
Returning Result from views and using ErrorBoundary to display errors.
- Routing
Routes, nested routing, path params and query params, links and forms in leptos_router.
- Server-side rendering and hydration
SSR life cycle, cargo-leptos, hydration bugs, and the different SSR modes.
- Server functions
Writing #[server] functions, extractors and responses to call server code from the client.
- Progressive enhancement and ActionForm
Making forms and navigation work without WebAssembly using ActionForm and server actions.
- Islands architecture
Shipping interactivity only for island components to reduce WebAssembly size.
- Global state management
Sharing state across the app with context and patterns for global stores.
- Deployment and binary size
Optimizing WebAssembly binary size and deploying Leptos apps.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.