Skip to content

Commit 3154f3f

Browse files
committed
lots of doc updates
1 parent 3f06438 commit 3154f3f

17 files changed

+614
-804
lines changed

docs/client-dsl/component-basics.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Component < HyperComponent
2424
end
2525
end
2626
```
27-
> The code between the `do` and `end` is called a block. **[More here...](notes.md#blocks-in-ruby)**
27+
> The code between `do` and `end` and { .. } are called blocks. **[More here...](notes.md#blocks-in-ruby)**
2828
2929
To save a little typing you can also specify the top level element to be rendered:
3030

@@ -36,7 +36,9 @@ class Component < HyperComponent
3636
end
3737
```
3838

39-
To render a component, you reference its class name as a method call from another component. This creates a new instance, passes any parameters and proceeds with the component lifecycle.
39+
To create a component instance, you reference its class name as a method call from another component. This creates a new instance, passes any parameters and proceeds with the component lifecycle.
40+
41+
> **[The actual type created is an Element read on for details...](/notes.html#component_instances)**
4042
4143
```ruby
4244
class FirstComponent < HyperComponent

0 commit comments

Comments
 (0)