We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2f8620 commit 642cc18Copy full SHA for 642cc18
docs/dsl-client/hyper-component.md
@@ -1463,7 +1463,8 @@ class UserIndex < HyperComponent
1463
TableRow do
1464
TableCell { "#{user.first_name} #{user.last_name}" }
1465
TableCell { user.is_female ? 'Female' : 'Male' }
1466
- # below note the use of key so React knows which Component is which else the erong params can be passed
+ # note the use of key so React knows which Component this refers to
1467
+ # this is very important for performance and to ensure the component is used
1468
TableCell { UserDialog(user: user, key: user.id) } # this will render as an edit button
1469
end
1470
0 commit comments