Skip to content

Commit bfded0c

Browse files
authored
Update notes.md
1 parent 9194ede commit bfded0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/client-dsl/notes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ default to the one provided by Hyperstack.
140140
### Proper Use Of Keys
141141

142142
> For best results the `key` is supplied at highest level possible. (NOTE THIS MAY NO LONGER BE AN ISSUE IN LATEST REACT)
143+
143144
```ruby
144145
# WRONG!
145146
class ListItemWrapper < HyperComponent
@@ -160,6 +161,7 @@ class MyComponent < HyperComponent
160161
end
161162
end
162163
```
164+
163165
```ruby
164166
# CORRECT
165167
class ListItemWrapper < HyperComponent

0 commit comments

Comments
 (0)