Feat: add css example

This commit is contained in:
Jonathan Kelley committed 2021-02-23 15:08:23 -05:00
1 parent 7a4594e237
commit edf09c1892
5 files changed
+57 -40

No files matched your search

+2 -2
View File
@@ -80,7 +80,7 @@ impl<'a> Context<'a> {
DomTree {}
}
pub fn callback(&self, f: impl Fn(()) + 'static) {}
pub fn callback(&self, f: impl Fn(()) + 'a) {}
/// Create a suspended component from a future.
///
@@ -188,7 +188,7 @@ mod context_api {
//!
use super::*;
use std::{marker::PhantomPinned, ops::Deref};
use std::{marker::PhantomPinned, mem::swap, ops::Deref};
pub struct RemoteState<T> {
inner: *const T,