mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-02-02 10:54:15 -05:00
Stable Rust docs
This commit is contained in:
parent
84e99dbb9e
commit
d450676055
1 changed files with 4 additions and 7 deletions
|
@ -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"] }
|
|
||||||
```
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue