dioxus-std
dioxus-std copied to clipboard
A library to provide abstractions to access common utilities when developing Dioxus applications.
On Dioxus 0.6.2 when using local storage like this ```rs #[component] fn NavbarLayout() -> Element { ... let mut hist = dioxus_sdk::storage::use_synced_storage::< dioxus_sdk::storage::LocalStorage, BTreeMap, >("BTreeMap_ServerCallEvent".to_string(), || { BTreeMap::::new() }); ......
Currently, I deal with local storage like that: ``` let mut local_storage_token = use_synced_storage::("x_auth_token".to_string(), || None); *local_storage_token.write() = None; ``` As a result, the key exists in local storage (value...