Stable Rust docs

This commit is contained in:
Radim 2023-08-31 14:22:54 +09:00
parent 84e99dbb9e
commit d450676055

View file

@ -32,10 +32,7 @@ Please refer to the [functions list](functions.md) for more details.
## Stable Rust ## Stable Rust
By default — like `leptos` — the library assumes you're using the Just like `leptos` this library can be safely run on stable rust. Just don't
nightly Rust toolchain. This allows for more ergonomic use of signals. forget to consult the Getting Started section of the `leptos` docs to understand
If you want to use stable Rust, you have to enable the `stable` crate feature. what that means. As of writing, it concerns mainly the getter and setter syntax
on signals, and the use of `cx` in closures.
```toml
leptos-use = { version = "...", features = ["stable"] }
```