parent_child example
This commit is contained in:
parent
5bc8c4e0d3
commit
524ed395fa
8
TODO.md
8
TODO.md
|
@ -2,15 +2,17 @@
|
|||
- [x] counter
|
||||
- [x] counters
|
||||
- [x] fetch
|
||||
- [ ] ErrorBoundary
|
||||
- [x] todomvc
|
||||
- [ ] parent\_child
|
||||
- [x] error_boundary
|
||||
- [x] parent\_child
|
||||
- [ ] on: on components
|
||||
- [ ] router
|
||||
- [ ] slots
|
||||
- [ ] hackernews
|
||||
- [ ] counter\_isomorphic
|
||||
- [ ] todo\_app\_sqlite
|
||||
- ssr examples
|
||||
- other ssr examples
|
||||
- [ ] error boundary SSR
|
||||
- reactivity
|
||||
- Signal wrappers
|
||||
- SignalDispose implementations on all Copy types
|
||||
|
|
|
@ -85,8 +85,7 @@ pub fn ButtonA(
|
|||
#[component]
|
||||
pub fn ButtonB<F>(
|
||||
/// Callback that will be invoked when the button is clicked.
|
||||
#[prop(into)]
|
||||
mut on_click: F,
|
||||
on_click: F,
|
||||
) -> impl IntoView
|
||||
where
|
||||
F: FnMut(MouseEvent) + 'static,
|
||||
|
|
Loading…
Reference in New Issue