wip: cut down on errors
This commit is contained in:
1 parent
996247a164
commit
775e9e29b8
6 files changed
+142
-198
No files matched your search
@@ -22,3 +22,15 @@ const App: FC<()> = |cx| {
|
||||
|
||||
todo!()
|
||||
};
|
||||
|
||||
const Task: FC<()> = |cx| {
|
||||
//
|
||||
|
||||
let s = cx.use_task(|| async { "hello world".to_string() });
|
||||
|
||||
todo!()
|
||||
};
|
||||
|
||||
fn use_mut<P, T>(cx: Context<P>, f: impl FnOnce() -> T) -> &mut T {
|
||||
todo!()
|
||||
}
|
||||
Reference in new issue
Block a user