Renderers are now packages, not features. (#387)

* feat: use synchronous router design

* feat: function to get router out of dom

* chore: restructure workspace to use renderers as packages, not features
This commit is contained in:
Jon Kelley authored and GitHub committed 2022-07-09 15:15:20 -04:00
1 parent c97ca7dff6
commit d9546d9504
181 files changed
+487 -1463

No files matched your search

+3 -3
View File
@@ -124,7 +124,7 @@ impl<T: 'static> AtomState<T> {
/// # Examples
///
/// Basic usage:
/// ```rust
/// ```rust, ignore
/// # use dioxus_core::prelude::*;
/// # use dioxus_hooks::*;
/// fn component(cx: Scope) -> Element {
@@ -219,7 +219,7 @@ impl<T: Clone> AtomState<T> {
///
/// # Examples
///
/// ```
/// ```ignore
/// let val = use_state(&cx, || 0);
///
/// val.with_mut(|v| *v = 1);
@@ -242,7 +242,7 @@ impl<T: Clone> AtomState<T> {
///
/// # Examples
///
/// ```
/// ```ignore
/// let val = use_state(&cx, || 0);
///
/// *val.make_mut() += 1;