KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
dioxus-storage
★ 12
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
paginate-aws
:
Typesafe AWS Pagination using async generators
hello-microverse
:
This project displays hello world
paleofetch-mac-prettier
:
My fork of paleofetch
open-source-python-projects-2023
:
No description available.
bacpaq
:
Bacterial Genomics workflow for short(Illumina) and long-read (Oxford Nanopore) sequencing data
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
dioxus-storage
?
Download (.md)
<div align="center"> <h1>dioxus_storage</h1> </div> <div align="center"> <!-- Crates version --> <a href="https://crates.io/crates/dioxus_storage"> <img src="https://img.shields.io/crates/v/dioxus_storage.svg?style=flat-square" alt="Crates.io version" /> </a> <!-- Downloads --> <a href="https://crates.io/crates/dioxus_storage"> <img src="https://img.shields.io/crates/d/dioxus_storage.svg?style=flat-square" alt="Download" /> </a> <!-- docs --> <a href="https://docs.rs/dioxus_storage"> <img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square" alt="docs.rs docs" /> </a> </div> # dioxus-storage A library for handling local storage ergonomically in Dioxus ## Usage ```rust use dioxus_storage::use_persistent; use dioxus::prelude::*; fn main() { dioxus_web::launch(app) } fn app(cx: Scope) -> Element { let num = use_persistent(cx, "count", || 0); cx.render(rsx! { div { button { onclick: move |_| { num.modify(|num| *num += 1); }, "Increment" } div { "{*num.read()}" } } }) } ```