mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
style: format againkjdfakbjfbkasjd
This commit is contained in:
parent
4ab54274ac
commit
916dc64402
4 changed files with 8 additions and 4 deletions
|
@ -2,7 +2,8 @@ use dioxus_core::{ScopeId, ScopeState};
|
|||
use std::{
|
||||
cell::{Cell, Ref, RefCell, RefMut},
|
||||
collections::HashSet,
|
||||
rc::Rc, sync::Arc,
|
||||
rc::Rc,
|
||||
sync::Arc,
|
||||
};
|
||||
|
||||
type ProvidedState<T> = RefCell<ProvidedStateInner<T>>;
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
use dioxus_core::ScopeState;
|
||||
use std::{
|
||||
cell::{Ref, RefCell, RefMut},
|
||||
rc::Rc, sync::Arc,
|
||||
rc::Rc,
|
||||
sync::Arc,
|
||||
};
|
||||
|
||||
/// `use_ref` is a key foundational hook for storing state in Dioxus.
|
||||
|
|
|
@ -4,7 +4,8 @@ use dioxus_core::prelude::*;
|
|||
use std::{
|
||||
cell::{RefCell, RefMut},
|
||||
fmt::{Debug, Display},
|
||||
rc::Rc, sync::Arc,
|
||||
rc::Rc,
|
||||
sync::Arc,
|
||||
};
|
||||
|
||||
/// Store state between component renders.
|
||||
|
|
|
@ -2,7 +2,8 @@ use gloo::history::{BrowserHistory, History, HistoryListener, Location};
|
|||
use std::{
|
||||
cell::{Cell, Ref, RefCell},
|
||||
collections::{HashMap, HashSet},
|
||||
rc::Rc, sync::Arc,
|
||||
rc::Rc,
|
||||
sync::Arc,
|
||||
};
|
||||
|
||||
use dioxus_core::ScopeId;
|
||||
|
|
Loading…
Reference in a new issue