Function use_store_sync
Source pub fn use_store_sync<T: Send + Sync + 'static>(
init: impl FnOnce() -> T,
) -> SyncStore<T>
Expand description
Create a new SyncStore. Stores are a reactive type built for nested data structures.
SyncStore is a Store backed by SyncStorage.
Like use_store, but produces SyncStore<T> instead of Store<T>