mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 09:09:21 -05:00
16 lines
357 B
Markdown
16 lines
357 B
Markdown
A simple example for `use_throttle_fn`.
|
|
|
|
If you don't have it installed already, install [Trunk](https://trunkrs.dev/)
|
|
as well as the nightly toolchain for Rust and the wasm32-unknown-unknown target:
|
|
|
|
```bash
|
|
cargo install trunk
|
|
rustup toolchain install nightly
|
|
rustup target add wasm32-unknown-unknown
|
|
```
|
|
|
|
To run the demo:
|
|
|
|
```bash
|
|
trunk serve --open
|
|
```
|