Skip to content

Commit

Permalink
patch: doc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidg3 committed Jul 9, 2024
1 parent 3d82e5b commit d09a659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/concepts/views.md
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ Here is an overview of what I did:
<details>
<summary><strong>Production 5</strong>: Simplify implementation</summary>

Because we've moved to an arrow function and a `Spy`, we can simplify the implementation of `MyCardViewController` by removing the additional method `this.handleListener()`.
Because we've moved to a `Spy`, we can simplify the implementation of `MyCardViewController` by removing the additional method `this.handleListener()`. But, we'll need to also change `this.handleDidGenerateStory()` to an arrow function to maintain `this`.

```ts
import {
Expand Down

0 comments on commit d09a659

Please sign in to comment.