From 60356067a6660077fbe7b5b7ffa156b9ad46e5ca Mon Sep 17 00:00:00 2001 From: Dennis Kaselow Date: Sat, 29 Oct 2016 17:18:28 +0200 Subject: [PATCH] Update README.md The example code always uses: ```dart @Factory() UiFactory Foo; ``` So shouldn't Foo also be used in the initial render call? FooComponent is a bit misleading. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5f5f57f9b..0190da4d3 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ mount / render it into the HTML element you created in step 3. react_client.setClientConfiguration(); // Mount / render your component. - react_dom.render(FooComponent()(), querySelector('#react_mount_point')); + react_dom.render(Foo()(), querySelector('#react_mount_point')); } ```