Skip to content

Commit 30859ee

Browse files
deleted duplicate docs and removed ::Mixin from Component docs
1 parent 8af04f7 commit 30859ee

File tree

5 files changed

+16
-1563
lines changed

5 files changed

+16
-1563
lines changed

.DS_Store

-6 KB
Binary file not shown.

docs/dsl-client/hyper-component.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Hyperstack Component DSL is a set of class and instance methods that are used to
9595

9696
The DSL has the following major areas:
9797

98-
+ The `Hyperstack::Component` class or `Hyperstack::Component::Mixin` mixin
98+
+ The `Hyperstack::Component` class or `Hyperstack::Component` mixin
9999
+ HTML DSL elements
100100
+ Component Lifecycle Methods (`before_mount`, `render`, `after_mount`, `after_update`, `after_error`)
101101
+ The four data accessors methods: `params`, `state`, `mutate`, and `children`
@@ -104,15 +104,15 @@ The DSL has the following major areas:
104104

105105
## Hyperstack::Component
106106

107-
Hyperstack Components classes either include `Hyperstack::Component::Mixin` or are subclasses of `Hyperstack::Component`.
107+
Hyperstack Components classes either include `Hyperstack::Component` or are subclasses of `Hyperstack::Component`.
108108

109109
```ruby
110110
class Component < Hyperstack::Component
111111
end
112112

113113
# if subclassing is inappropriate, you can mixin instead
114114
class AnotherComponent
115-
include Hyperstack::Component::Mixin
115+
include Hyperstack::Component
116116
end
117117
```
118118

0 commit comments

Comments
 (0)