make the root component take no arguments
This commit is contained in:
1 parent
8fe2515413
commit
404c864246
26 files changed
+46
-47
No files matched your search
@@ -41,7 +41,7 @@ fn manual_diffing() {
|
||||
#[test]
|
||||
fn events_generate() {
|
||||
set_event_converter(Box::new(SerializedHtmlEventConverter));
|
||||
fn app(cx: Scope) -> Element {
|
||||
fn app() -> Element {
|
||||
let count = cx.use_hook(|| 0);
|
||||
|
||||
match *count {
|
||||
@@ -79,7 +79,7 @@ fn events_generate() {
|
||||
|
||||
// #[test]
|
||||
// fn components_generate() {
|
||||
// fn app(cx: Scope) -> Element {
|
||||
// fn app() -> Element {
|
||||
// let render_phase = cx.use_hook(|| 0);
|
||||
// *render_phase += 1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user