mirror of
https://github.com/leptos-rs/leptos.git
synced 2025-12-27 11:04:40 -05:00
status.done().then_some("line-through").unwrap_or_default()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if status.done() { "line-through" } else { Default::default() }`
Stores Example
This example shows how to use reactive stores, by building a client-side rendered TODO application.
Getting Started
See the Examples README for setup and run instructions.
Quick Start
Run trunk serve --open to run this example.