[][src]Function atomic_hooks::use_state_current

pub fn use_state_current<T: 'static, F: FnOnce() -> T>(
    data_fn: F
) -> StateAccess<T>

Uses the current topological id to create a new state accessor