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 d81dfdb commit a00e648Copy full SHA for a00e648
frameworks/keyed/crank/src/main.jsx
@@ -34,7 +34,6 @@ function Button({id, title}) {
34
);
35
}
36
37
-
38
function Jumbotron() {
39
this.addEventListener("click", (ev) => {
40
if (ev.target.tagName === "BUTTON") {
@@ -175,15 +174,15 @@ function *Main() {
175
174
this.refresh();
176
});
177
178
- while (true) {
+ for ({} of this) {
179
yield (
180
<div class="container">
181
<Jumbotron />
182
<table class="table table-hover table-striped test-data">
183
<tbody>
184
{data.map((item) => (
185
<Row
186
- crank-key={item.id}
+ key={item.id}
187
item={item}
188
selected={item.id === selected}
189
/>
0 commit comments