Fix error in examples/future.rs comments, use_futures inline docs comments, also added clarification that Signal<T>.read() and Singal<T>() are the same thing
This commit is contained in:
1 parent
5a73147d69
commit
70136b22ea
11 files changed
+164
-5
No files matched your search
@@ -42,7 +42,7 @@ pub fn use_context<T: 'static + Clone>() -> T {
|
||||
/// use_context_provider(|| Signal::new(0));
|
||||
/// rsx! { Child {} }
|
||||
///}
|
||||
// This component does read from the signal, so when the signal changes it will rerun
|
||||
/// // This component does read from the signal, so when the signal changes it will rerun
|
||||
///#[component]
|
||||
///fn Child() -> Element {
|
||||
/// let signal: Signal<i32> = use_context();
|
||||
|
||||
Reference in new issue
Block a user