2023-06-10 01:52:21 +01:00
|
|
|
use crate::storage::shared::{use_specific_storage, UseSpecificStorageOptions};
|
|
|
|
use crate::storage::{use_storage_with_options, StorageType};
|
|
|
|
use leptos::*;
|
|
|
|
use paste::paste;
|
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
|
|
|
|
use_specific_storage!(
|
|
|
|
/// Reactive [LocalStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)
|
|
|
|
///
|
|
|
|
/// ## Usage
|
|
|
|
///
|
|
|
|
/// Please refer to [`use_storage`]
|
|
|
|
///
|
|
|
|
/// ## See also
|
|
|
|
///
|
|
|
|
/// * [`use_storage`]
|
|
|
|
/// * [`use_session_storage`]
|
2023-06-23 22:13:14 +01:00
|
|
|
// #[doc(cfg(feature = "storage"))]
|
2023-06-10 01:52:21 +01:00
|
|
|
local
|
|
|
|
/// [`use_local_storage`]
|
|
|
|
);
|