Skip to content

Commit

Permalink
Update doc to mention context instead of this
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaub authored and brainkim committed May 25, 2024
1 parent 55199a9 commit 327e49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/documents/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ function *Timer({}, ctx) {
ctx.refresh();
};

// The this of a Crank component is an iterable of props.
// The context passed to a Crank component is an iterable of props.
for ({} of ctx) {
// Welcome to the render loop.
// Most generator components should use render loops even if they do not
Expand Down

0 comments on commit 327e49b

Please sign in to comment.