Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
The example code always uses:

```dart
@factory()
UiFactory<FooProps> Foo;
```

So shouldn't Foo also be used in the initial render call? FooComponent is a bit misleading.
  • Loading branch information
denniskaselow authored Oct 29, 2016
1 parent b2a942b commit 6035606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
}
```

Expand Down

0 comments on commit 6035606

Please sign in to comment.